I NEED ONLY CORRECT OPTION NO NEED TO EXPLAIN IN DEPTH,PLEASE SOLVE ALL THE QUESTION, DON'T LEAVE ANY QUESTION AND IF YOU DON'T KNOW THE CORRECT ANSWER THEN PLEASE LEAVE IT OTHERWISE I WILL DOWNVOTE IT.... 1. Which of the following statements are correct? I. The User Datagram Protocol (UDP) is used for applications that requires constant data flow. Il. The header size in Transmission Control Protocol (TCP is small when compared to the header size of User Datagram Protocol (UDP). I!. The Transmission Control Protocol (TCP) is byte oriented. IV. The User Datagram Protocol (UDP) is used for routing. (a) I, II, and III only (b) II, Ill, and IV only (c) I, Ill, and IV only (d) I, Il, and IV only 2. Which of the following statements are true when the block size in a fixed block size file system is increased? 1. disk throughput is increased 2. disk throughput is decreased 3. disk space utilization is increased 4. disk space utilization is decreased 3. What is the output of below code? java.util.ArrayList list = new java.util.ArrayList () ; list.add (0); list.add (1); list.add (2, 2); list.addAll (list); list.addAl1 (4, list); list.remove (1); list.remove (2) ; System.out.println (list); (a) [0, 2, 0, 1, 2, 0, 1, 2, 1, 2] (b) [0, 0, 0, 1, 2, 0, 1, 2, 1, 2] (c) Exception occurs (d) None of the above 4. Which of the following is true about any pure virtual function defined in a base class? Answer Choices: a. It cannot have a definition. b. It must be overridden in the child class. c. Both a and b. d. Neither a nor b. 5. What is the equivalent 2's complement representation for -15 in 16-bit hexadecimal representation? a) FFFE b) 7FFE c) FFFI d) 7FFI 6. Consider the following pep9 trap: DECI number, d What 'd' refers in the above instruction? a) direct mode b) read(or input) decimal number c) read(or input) integer d) print( or output) decimal number
I NEED ONLY CORRECT OPTION NO NEED TO EXPLAIN IN DEPTH,PLEASE SOLVE ALL THE QUESTION, DON'T LEAVE ANY QUESTION AND IF YOU DON'T KNOW THE CORRECT ANSWER THEN PLEASE LEAVE IT OTHERWISE I WILL DOWNVOTE IT....
1. Which of the following statements are correct?
I. The User Datagram Protocol (UDP) is used for applications that requires constant
data flow.
Il.
The header size in Transmission Control Protocol (TCP is small when compared to
the header size of User Datagram Protocol (UDP).
I!.
The Transmission Control Protocol (TCP) is byte oriented.
IV. The User Datagram Protocol (UDP) is used for routing.
(a) I, II, and III only
(b) II, Ill, and IV only
(c) I, Ill, and IV only
(d) I, Il, and IV only
2. Which of the following statements are true when the block size in a fixed block size file
system is increased?
1. disk throughput is increased
2. disk throughput is decreased
3. disk space utilization is increased
4. disk space utilization is decreased
3. What is the output of below code?
java.util.ArrayList<Integer> list =
new java.util.ArrayList<Integer> () ;
list.add (0);
list.add (1);
list.add (2, 2);
list.addAll (list);
list.addAl1 (4, list);
list.remove (1);
list.remove (2) ;
System.out.println (list);
(a) [0, 2, 0, 1, 2, 0, 1, 2, 1, 2]
(b) [0, 0, 0, 1, 2, 0, 1, 2, 1, 2]
(c) Exception occurs
(d) None of the above
4. Which of the following is true about any pure virtual function defined in a base class?
Answer Choices:
a. It cannot have a definition.
b. It must be overridden in the child class.
c. Both a and b.
d. Neither a nor b.
5. What is the equivalent 2's complement representation for -15 in 16-bit hexadecimal
representation?
a) FFFE
b) 7FFE
c) FFFI
d) 7FFI
6. Consider the following pep9 trap:
DECI number, d
What 'd' refers in the above instruction?
a) direct mode
b) read(or input) decimal number
c) read(or input) integer
d) print( or output) decimal number
Step by step
Solved in 3 steps