Engineering · Computer Engineering The worst-case time complexity of binary search on n elements is: A O(log n) Correct answer B O(n) C O(1) D O(n²) MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The number of usable host addresses in a /24 IPv4 network is: A 254 hosts Correct answer B 256 hosts C 508 hosts D 127 hosts MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following should be low between modules for good design? A AES B The agile methodology C A hash function D Coupling Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The number of usable host addresses in a /22 IPv4 network is: A 1024 hosts B 2044 hosts C 1022 hosts Correct answer D 511 hosts MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A mutex A Is the excessive paging that reduces the performance of the system B Is the saving of the state of one process and loading of another C Occurs when a required page is not in main memory D Provides mutual exclusion for a critical section Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? HTTP A Has seven layers, from physical to application B Uses port 80 by default Correct answer C Creates a secure encrypted tunnel over a public network D Begins with 1 to 126 in the first octet MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? An encoder A Converts a binary number into an analog voltage B Converts one active input line into a binary code Correct answer C Has 2ⁿ states D Moves the stored bits left or right with each clock pulse MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering 90% of a program is speeded up by a factor of 10. According to Amdahl's law, the overall speedup is about: A 10 × B 10.52 × C 2.63 × D 5.26 × Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The hexadecimal number FF in decimal is: A 256 B 254 C 271 D 255 Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A constructor A Contains declarations of functions and macros B Means bundling data and methods together and restricting direct access to the data C Makes a program run but produce incorrect output D Is a special method called when an object is created Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A digital-to-analog converter A Adds two single bits and gives a sum and a carry B Converts a binary number into an analog voltage Correct answer C Changes only one bit between successive values D Has all flip-flops clocked simultaneously MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering 50% of a program is speeded up by a factor of 2. According to Amdahl's law, the overall speedup is about: A 1.33 × Correct answer B 2 × C 2.66 × D 0.665 × MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A deadlock in a database A Removes transitive dependency B Groups rows that have the same values C Occurs when two transactions wait for each other's locks Correct answer D Describes data in terms of entities, attributes and relationships MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A loop A Repeats a block of code while a condition is true Correct answer B Stores the address of a variable C Is 4 bytes D Consists of binary instructions executed directly by the CPU MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following finds the shortest paths from a source in a graph with non-negative weights? A A complete binary tree of height h B An in-order traversal of a binary search tree C A heap D Dijkstra's algorithm Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A WAN A Is a connection-oriented and reliable protocol B Assigns IP addresses automatically to hosts C Manages the dialogue between applications D Covers a large geographical area Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The 8-bit two's complement representation of −45 is: A 00101101 B 11010011 Correct answer C 11010010 D 11010100 MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A hash function A Produces a fixed-size digest of the input data Correct answer B Is a symmetric key encryption algorithm C Tests the individual modules of a program D Is an asymmetric encryption algorithm using a public and a private key MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? An embedded system A Can be a structural, data or control hazard B Directs the operation of the processor by decoding instructions C Is a computer built into a device for a specific function Correct answer D Is a 16-bit processor with a 20-bit address bus that can address 1 MB MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering 80% of a program is speeded up by a factor of 4. According to Amdahl's law, the overall speedup is about: A 4 × B 5 × C 2.5 × Correct answer D 1.25 × MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following are mutual exclusion, hold and wait, no pre-emption and circular wait? A A race condition B Round robin scheduling C A file system D The four necessary conditions for deadlock Correct answer MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which statement is correct? A hub A Is a connection-oriented and reliable protocol B Broadcasts the received data to all its ports Correct answer C Forwards packets between different networks D Is responsible for routing and logical addressing with IP MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following makes cache memory effective? A The principle of locality Correct answer B The ALU C The accumulator D Cache memory MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering The octal number 144 in decimal is: A 101 B 99 C 100 Correct answer D 108 MCQSEXAM Show answer Read explanation
Engineering · Computer Engineering Which of the following stores the intermediate results of arithmetic operations? A A multicore processor B The accumulator Correct answer C The bus D Cache memory MCQSEXAM Show answer Read explanation