MIDTERM QUESTIONS With Correct
Answers 100% Guaranteed Pass.
Which of the following is true of the Transmission Control Protocol (TCP):
A it operates over the Internet Protocol (IP),
B it add reliability,
C it manages data ordering,
D it performs error checking, E all of the above.
E all of the above. - Answer✔Answer: E all of the above.
Which compiler options is used to create a .so file:
A -c.
B -E.
C -o.
D -std=c99.
E -shared. - Answer✔Answer: E -shared.
In A1, why was a union used:
A to speed execution on multi-core processors.
B to allow different kinds of phylib objects to be declared interchangably.
C to allow the balls to be accessed in a different order.
D to prevent the exploitation of the working class.
E none of the above. - Answer✔Answer: B to allow different kinds of phylib objects to be
declared
The sniffer.py program used in class showed:
A information flowing from a web-browser to a server,
1|Page
, B the use of non-privileged ports (higher than 1024),
C information flowing from a server to a web-browser,
D that it is easy to spy on network traffic if it is not encrypted,
E all of the above. - Answer✔Answer: E all of the above.
A foreign key in a SQL database is used to:
A ensure consistency of data across multiple tables.
B maintain the correct ordering of the rows of the table.
C allow rapid access to rows of the based on the key.
D all of the above.
E none of the above. - Answer✔Answer: A ensure consistency of data across multiple tables.
In A1, how many integer numbers (of any size) did the phylib still ball structure contain:
A 0.
B 1.
C 2.
D 3.
E 4. - Answer✔Answer: B 1.
What can happen if you forget to add a WHERE clase to an SQL operation:
A all rows in the table are changed or deleted.
B the Helvetica scenario is initiated.
C you may cause a breach in the warp-core containment field.
D a segmentation fault occurs.
E none of the above. - Answer✔Answer: A all rows in the table are changed or deleted.
git is useful for:
(a) moving software between computers.
(b) backing up software.
(c) maintaining different versions of software.
(d) all of the above.
(e) none of the above. - Answer✔Answer: D all of the above.
Which compiler options is used to run the compiler, but not the linker:
2|Page