In a simplified storage model, each of 48 text characters occupies exactly 16 bits. Ignoring file headers, what is the text size in bytes?
Information Encoding And Measurement
Question · Easy
Contrapositive, darling: a torch song
Short
In an 8-bit encoding, a student deleted one animal name from the list "Elk, Wolf, Tiger, Leopard" along with the separating comma and space (2 characters). As a result, the volume of the text decreased by 6 bytes. Which word was deleted?
Question · Medium
In a 16-bit encoding (2 bytes per character), deleting a fruit name along with a separating comma and space (2 characters) decreased the document size by 16 bytes. How many characters were in the deleted fruit name?
A text contains 1,024 ASCII characters stored in one byte each. Ignoring headers, how many kibibytes (KiB, 1 KiB = 1,024 bytes) does it occupy?
A channel transmits 64,000 bits per second. A school-model file stores exactly 16 bits for each of 16,000 characters. Ignoring headers and transmission overhead, how long does transmission take?
How many bits are in 48 bytes?
An uncompressed 640 × 480 image stores each pixel as an 8-bit index into a 256-color palette. Ignoring headers and the palette itself, what is the raw pixel size using the classroom convention 1 KB = 1,024 bytes?
Question · Hard
A message is encoded using a binary prefix code satisfying the Fano condition: A = 00, B = 01, C = 10, D = 110, E = 111. Which message corresponds to the code sequence 0100110111?
Five letters A, B, C, D, E are encoded: A = 0, B = 100, C = 101, D = 110. To satisfy the Fano condition (no codeword is a prefix of another), which codeword can be assigned to letter E?
A digital sound recording lasts 20 seconds, is mono (1 channel), uses a 16-bit depth (2 bytes), and an 8,000 Hz sampling rate. What is the uncompressed data volume in bytes?
In a 16-bit encoding, a student added a word to an essay along with a separating comma and space. If the total file size increased by 18 bytes, how many letters does the added word contain?
A text has 32 pages of 40 lines, each containing 64 characters. Each character occupies exactly 2 bytes in the specified model. Ignoring headers and line-break characters, what is its size using the classroom convention 1 KB = 1,024 bytes?
What is the decimal representation of the binary number 11010 in base 2?
Number Systems
What is the decimal value of the octal number 57 in base 8?
Convert the hexadecimal number 3B in base 16 to decimal.
What is the sum of the binary numbers 1011 in base 2 and 1101 in base 2 expressed in decimal?
Which of the following binary numbers is equal to the decimal number 43?
Which of the following numbers has the GREATEST decimal value: 110110 in base 2, 67 in base 8, or 36 in base 16?
How many ones are in the binary representation of the decimal number 125?
Solve the equation in positional number systems: 24 in base x + 13 in base x = 40 in base x. What is the base x?
Convert the octal number 72 in base 8 to binary.
Convert the hexadecimal number 4E in base 16 to binary.
How many integer values of X satisfy the strict inequality 101010 in base 2 < X < 55 in base 8?
Calculate the decimal value of the expression: 1A in base 16 + 73 in base 8 - 10011 in base 2.
For which of the given values of X is the logical expression (X > 3) AND (X < 9) TRUE?
Boolean Logic And Truth Tables
Find the largest integer X for which the expression NOT (X >= 15) AND (X % 2 != 0) is TRUE.
Find the smallest integer X for which the statement NOT (X < 6) AND (X < 14) AND (X is even) is TRUE.
Which logical operator outputs FALSE if and only if both of its boolean inputs are FALSE?
For which of the following words is the logical statement TRUE: NOT (First letter is a vowel) AND (Last letter is a consonant)?
How many integer values of X between 1 and 30 (inclusive) make the expression NOT (X <= 12) AND NOT (X > 25) AND (X % 3 == 0) TRUE?
According to De Morgan's laws, the negated compound statement NOT (A OR B) is logically equivalent to which expression?
Consider the logical expression NOT A AND B. For which combination of truth values of A and B does this expression evaluate to TRUE?
How many rows in the truth table of the boolean function F = (A OR NOT B) AND (C OR NOT A) evaluate to 1 (TRUE)?
For which integer value of X is the expression (X > 4) AND NOT (X > 7) AND (X * X = 36) TRUE?
Find the smallest two-digit integer X for which the statement (X > 50) AND (Sum of digits of X is greater than 12) is TRUE.
Which listed integer value of X makes the logical implication ((X < 8) -> (X * X < 40)) FALSE?
A weighted graph between towns A, B, C, D, E has edges: A-B: 3, A-C: 5, B-C: 1, B-D: 4, C-D: 2, C-E: 6, D-E: 3. What is the length of the shortest path from A to E?
Graphs And Shortest Paths
A symmetric distance table between 4 villages A, B, C, D has lengths: A-B: 2, A-C: 7, B-C: 3, B-D: 6, C-D: 2. What is the shortest distance between A and D?
Between stations A, B, C, D, E roads exist: A-B: 4, A-C: 6, B-C: 1, B-E: 8, C-D: 3, D-E: 2. What is the shortest distance between A and E that PASSES THROUGH station C?
A network connects nodes A, B, C, D, E, F with lengths: A-B: 2, A-C: 4, B-C: 1, B-D: 5, C-D: 2, C-E: 3, D-F: 4, E-F: 2. Find the shortest path from A to F that DOES NOT pass through node D.
How many edges does a connected tree with 8 vertices have?
In a directed acyclic graph representing roads between cities A, B, C, D, E, F: edges are A->B, A->C, B->D, B->E, C->E, D->F, E->F. How many distinct paths exist from city A to city F?
In a directed graph with edges A->B, A->C, A->D, B->E, C->B, C->E, C->G, D->C, D->G, E->H, G->H, H->K, how many distinct paths from A to K PASS THROUGH city C?
What geometric symmetry property does the adjacency distance table of any undirected graph possess?
A connected undirected graph has 6 vertices, each having degree 3. How many edges does this graph have?
Find the length of the shortest path from vertex A to vertex E in a weighted graph with edges: A-B: 3, A-C: 7, A-D: 12, B-C: 2, B-D: 6, C-D: 3, C-E: 8, D-E: 4.
Executor "Calculator" has two commands: 1. Add 3; 2. Multiply by 2. Which sequence of 4 commands transforms the number 2 into 26?
Algorithms And Executors
Loading more…