CIS 2750 FINAL EXAM STUDY MIDTERM
QUESTIONS WITH ANSWERS
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,
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.
QUESTIONS WITH ANSWERS
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,
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.