Convert the denary number 173 to 8-bit binary.
Information Representation
Question · Easy
Movie hacker vs real life
Short
What is the hexadecimal representation of the 8-bit binary 11010110?
Question · Medium
Using 8-bit two's complement, what is the binary representation of -42?
In a normalised two's complement floating-point representation, what is the leading bit pattern of a positive normalised mantissa?
Question · Hard
An image is 800 pixels wide, 600 pixels tall, and uses 24-bit colour. Approximately what is its uncompressed file size?
Which compression technique is lossless and works best on data with long runs of repeated symbols?
Which character set uses a variable-length encoding of 1 to 4 bytes per code point and is the dominant web encoding?
What does a digital signature primarily verify about a message?
In a sound recording, doubling the sampling rate while keeping bit depth constant has what effect on file size?
Which statement about symmetric and asymmetric encryption is correct?
Add the two 8-bit two's complement numbers 01101100 and 01010101. Is there overflow?
Which of the following correctly distinguishes a logical right shift from an arithmetic right shift?
Which network type typically covers a single building or campus and is owned by the organisation that uses it?
Communication And Internet
In a star topology, what happens if the central switch fails?
Which transport-layer protocol is connection-oriented and guarantees in-order delivery?
Which device operates at OSI Layer 3 and forwards packets between different networks based on IP addresses?
What is the primary role of DNS on the Internet?
Which is a key advantage of IPv6 over IPv4?
In cloud computing, which service model gives the customer the most control over the operating system and middleware?
What is the role of NAT (Network Address Translation) on a typical home router?
Which Boolean expression is equivalent to NOT (A AND B) by De Morgan's law?
Hardware
A 2-input XOR gate outputs 1 in which case?
Which CPU register holds the address of the next instruction to be fetched?
During the fetch-decode-execute cycle, which step uses the address bus to send the value in the MAR to memory?
Which characteristic explains why CPU cache is faster but smaller than main memory?
Which simplification is correct for the Boolean expression A + AB?
A K-map for three variables groups four adjacent 1s in a row. How many variables remain in the simplified term?
An SR flip-flop built from NAND gates is in an undefined or invalid state when:
Which characteristic distinguishes RISC from CISC architectures?
Which storage medium is non-volatile, uses NAND flash, and has no moving parts?
Which Cambridge pseudocode keyword declares a variable named count of type INTEGER?
Programming
What is the time complexity of binary search on a sorted array of n elements?
Which Cambridge pseudocode array declaration creates a 1D array of 10 integers indexed from 1 to 10?
Which data structure operates strictly Last In, First Out?
When traversing a binary search tree in-order, the visited keys appear in what order?
Which sorting algorithm has average-case time complexity O(n log n) and is typically implemented recursively by dividing the list and merging sorted halves?
In Cambridge pseudocode, which loop is guaranteed to execute its body at least once?
In Cambridge pseudocode, which parameter mode allows a procedure to modify the caller's variable?
What does the following Python code print? for i in range(1, 5): print(i, end=' ')
A recursive function must always include which feature to terminate?
What is the average-case time complexity of accessing an element in a hash table with a good hash function?
Which file access method permits a record to be retrieved directly using its position without reading earlier records?
In Cambridge pseudocode, what does the following snippet output? x ← 5 IF x > 10 THEN OUTPUT "big" ELSE OUTPUT "small" ENDIF
Programming Exercises
What is the final value of total after this pseudocode runs? total ← 0 FOR i ← 1 TO 5 total ← total + i NEXT i
Linear search on an unsorted list of n elements has worst-case time complexity:
Which software development methodology emphasises producing a complete requirements document before any coding begins?
Software Development
Black-box testing focuses on:
Loading more…