KRL Sample Questions for Computer Engineering
Sample Paper (Computer Engineering)
1. The CPU structure contains:
a. Cache, ALU, Control Unit and Control Memory
b. System Bus, ALU, Control Unit and Registers
c. Memory, ALU, Control Unit and Cache
d. Registers, ALU, Internal CPU Interconnection and Control Unit
2. Normally, the FPGA resources are used less than 70% because:
a. Routing becomes excessively complicated
b. Power issues
c. Clock frequency
d. Simulation time increases
3. In which layer Telnet and FTP work?
a. Application
b. Session
c. Network
4. If b=2'b10 and c={2'b01,{b,b}}, then:
a. c = 6'b011010;
b. c = 6'b101010;
c. c = 6'b111111;
d. c = 6'b001100;
5. Which of the I/O structure steals memory cycles from CPU and slows down CPU execution during its operation?
a. Synchronous
b. Asynchronous
c. Direct Memory access
d. Symmetric
6. A binary image is encoded using run length code row by row, with “0” represents white, and “1” represents black. What will be code for row 10 in the diagram given below?
a. “0”, 7, 2, 7
b. “1”, 3, 10, 3
c. “0”, 2, 1, 10, 1, 2
d. “0”, 3, 2, 6, 3, 2
7. What is represented by the question mark symbol?
a. –
b. +
c. /
d. ×
8. Which protocol works at the Internet layer and provides a connection service between hosts?
a. IP
b. ARP
c. TCP
d. UDP
9. How long does it take to send a file of 640,000 bits from host A to host B over a circuit‐switched
network?
➤All links are 1.536 Mbps
➤ Each link uses TDM with 24 slots/sec
➤500 msec to establish end‐to‐end circuit
a. 7.5 sec
b. 8.5 sec
c. 9.5 sec
d. 10.5 sec
10. Which of the following function prototype is perfectly acceptable?
a. int Function(int Tmp = Show());
b.float Function(int Tmp = Show(int, float));
c. Both A and B.
d.float = Show(int, float) Function(Tmp);
11. Which of the following are valid calls to Math.max?
1. Math.max(1,4)
2. Math.max(2.3, 5)
3. Math.max(1, 3, 5, 7)
4. Math.max(‐1.5, ‐2.8f)
a. 1, 2 and 4
b.2, 3 and 4
c. 1, 2 and 3
d. 3 and 4
12. What will be the output of the program?
String x = new String("xyz");
String y = "abc";
x = x + y;
How many String objects have been created?
a. 2
b. 3
c.4
d.5
Feel free to comment any query/Answers and the past paper you want for preparation.
No comments:
Post a Comment