Engineering · Computer Engineering The sum of the binary numbers 1111 and 1 is: A 10000 Correct answer B 10001 C 1111 D 1110 MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering A program has 500000 instructions with an average CPI of 4 on a 50 MHz processor. The execution time is: A 40 ms Correct answer B 400 ms C 4 ms D 10 ms MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A system call A Is wasted memory within an allocated block B Occurs when a required page is not in main memory C Is the interface between a user program and the operating system Correct answer D Divides memory into variable-size logical segments MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following converts assembly language into machine code? A Recursion B An assembler Correct answer C A loop D A compiler MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? The Gray code A Has an invalid state when both S and R are high B Has outputs that depend on both state and input C Changes only one bit between successive values Correct answer D Toggles its state when T is high at the clock edge MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A syntax error A Allows the same function name to perform different tasks B Is a violation of the grammatical rules of the language Correct answer C Is called when an object is destroyed D Is an example of compile-time polymorphism MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? The ALU A Directs the operation of the processor by decoding instructions B Is a set of lines used to carry data, address and control signals C Performs arithmetic and logical operations Correct answer D Is non-volatile memory that stores permanent instructions MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following stores the address of a variable? A Function overloading B Machine language C A pointer in C Correct answer D A variable MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? Kruskal's algorithm A Finds a minimum spanning tree by adding the smallest edges without forming cycles Correct answer B Uses a stack or recursion to explore a graph C Finds the shortest paths from a source in a graph with non-negative weights D Has an average time complexity of O(n log n) and a worst case of O(n²) MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering A disk has 500 cylinders, 4 heads, 200 sectors per track and 1024 bytes per sector. Its capacity is: A 391 MB B 390.62 MB Correct answer C 781.25 MB D 195 MB MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The 8-bit two's complement representation of −64 is: A 11000000 Correct answer B 01000000 C 10111111 D 11000001 MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following is the saving of the state of one process and loading of another? A A process B A mutex C A context switch Correct answer D Priority scheduling MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering 75% of a program is speeded up by a factor of 5. According to Amdahl's law, the overall speedup is about: A 2.5 × Correct answer B 5 × C 4 × D 1.25 × MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following manages hardware resources and provides services to application programs? A A system call B Thrashing C An operating system Correct answer D A thread MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following is wasted memory within an allocated block? A A file system B A page fault C Thrashing D Internal fragmentation Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering A program has 1000000 instructions with an average CPI of 2 on a 100 MHz processor. The execution time is: A 20 ms Correct answer B 200 ms C 2 ms D 10 ms MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following uses a stack or recursion to explore a graph? A An in-order traversal of a binary search tree B Depth-first search Correct answer C A circular queue D A hash table MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following is a complete binary tree used to implement priority queues? A A heap Correct answer B Quick sort C Big-O notation D Dynamic programming MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering A cache has a hit ratio of 0.95, a cache access time of 2 ns and a main memory access time of 100 ns. The average access time (miss time = cache + memory) is: A 7 ns Correct answer B 1.9 ns C 14 ns D 3.5 ns MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following is an asynchronous counter in which each flip-flop is triggered by the previous one? A A ripple counter Correct answer B A NAND gate C A shift register D An encoder MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? Abstraction A Converts assembly language into machine code B Is the process of finding and removing errors from a program C Programs are compiled to bytecode that runs on the Java Virtual Machine D Hides the implementation details and shows only the essential features Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following toggles when both J and K are high? A A flip-flop B A JK flip-flop Correct answer C A half adder D A decoder MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The SQL command to remove a table completely from the database is: A DELETE B DROP TABLE Correct answer C REMOVE D TRUNCATE ROWS MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The 8-bit two's complement representation of −100 is: A 10011100 Correct answer B 01100100 C 10011011 D 10011101 MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following uses port 25 and is used for sending e-mail? A The network layer B An IPv4 address C The session layer D SMTP Correct answer MCQSEXAM Show answer Read explanation