An uncompressed black-and-white image stores one bit per pixel. How many bits are needed to store an 8 by 8 image?
Computer System Concepts
Question · Hard
A photo-sharing site stores preview images using lossy compression. What is the main tradeoff of lossy compression?
Question · Medium
A student installs a new printer, but the computer cannot communicate with it until printer software is installed. What is the likely role of that software?
A user can connect to a website by typing its numeric IP address but not by typing its domain name. Which service should be checked first?
A wireless laptop shows a strong Wi-Fi signal but cannot reach any websites. Which next step best narrows the problem?
In an RGB color code written as hexadecimal #FF0000, what color component is at maximum intensity?
Which binary number is equivalent to decimal 13?
Question · Easy
Which decimal value is represented by hexadecimal 2A?
Why can text, images, and sound all be stored on a computer as binary data?
Which component is primarily responsible for executing program instructions in a typical computer?
Which storage choice is volatile, meaning its contents are typically lost when power is removed?
Which task is a primary function of an operating system?
A user reports that a classroom projector shows no image. Which troubleshooting step should generally come first?
A computer becomes slow when many large programs are open, but speeds up after some programs are closed. Which resource was most likely under pressure?
A sensor connected to a classroom microcontroller detects light levels and sends readings to a program. In this system, what role does the sensor play?
Which situation best illustrates a client-server model?
What does bandwidth most directly describe in a network connection?
A teacher asks students to design an app that recommends a school club. Students first list the required inputs, then identify smaller tasks such as collecting preferences, comparing options, and displaying a recommendation. Which problem-solving strategy are they using?
Computational Thinking And Algorithm Design
Which sequence best reflects an iterative development process for a student-created game?
In a flowchart, which structure is represented when a decision diamond sends execution to one of two different paths based on whether a condition is true?
A program hides the details of how a map route is calculated and exposes only a function getRoute(start, end). Which concept is most directly illustrated?
A class needs to plan software for a lunch-order kiosk. Which artifact would be most useful for showing the sequence of decisions and steps before writing code?
A team builds a robot navigation program with separate components for sensing obstacles, deciding a direction, and moving the motors. What is the main advantage of this component design?
Which task is the best example of algorithmic thinking?
A function checkPassword(password) returns true if the password length is at least 12 and contains a digit. Why is this function an example of abstraction?
A list contains [4, 7, 9, 12]. The algorithm sets total = 0 and then, for each item x in the list, sets total = total + x. What is total after the loop ends?
Use zero-based indexing. A list contains [6, 8, 10, 12, 14]. Which value is list[3]?
An algorithm searches an unsorted list of 1,000 student names by checking each name from the beginning until it finds the target. Which search strategy is being used?
A sorted list contains 64 names. In the worst case, approximately how many comparisons does binary search need to find a name or determine it is absent?
Which statement best compares linear search and binary search?
Which growth rate best describes an algorithm whose running time doubles when the number of input items doubles?
A nested loop compares every pair of students in a class of n students. Which big-O expression best represents the number of comparisons?
Which situation most clearly requires evaluating an algorithm for correctness rather than only for speed?
A selection sort is used to arrange [5, 2, 8, 1] in ascending order. After the first pass places the smallest value at the beginning, what should the list be?
In bubble sort for ascending order, adjacent items are repeatedly compared and swapped when they are out of order. After one full pass through [4, 1, 3, 2], which value is guaranteed to be in its final position?
An algorithm sets x = 3, then repeats the following steps while x < 20: x = x * 2. What is the value of x when the loop terminates?
A school wants to predict bus arrival delays using past arrival times, weather, and traffic data. Which data-analysis technique is most appropriate for estimating a numeric delay from related variables?
Which language characteristic is most associated with an object-oriented programming language?
Programming And Program Development
A novice programming class uses a block-based environment before moving to a text-based language. What is a key instructional benefit of this sequence?
Which software development methodology emphasizes short cycles, frequent feedback, and adapting the product as requirements become clearer?
A team follows requirements analysis, design, implementation, testing, deployment, and maintenance mostly in sequence. Which development model does this most closely resemble?
Which practice best improves code readability for future maintenance?
A mobile operating system gives app developers documented functions for requesting camera access without exposing all camera-driver code. What tool or concept is being provided?
A program fails to run because a statement is missing a closing parenthesis. What type of error is this?
A payroll program runs without crashing but calculates overtime pay using 1.25 times the hourly rate instead of 1.5 times. What type of error is most directly involved?
Which testing approach is best for checking whether a function correctly handles the smallest valid input, largest valid input, and values just outside the valid range?
In an event-driven program, which action most likely triggers a handler function?
Which value is most appropriately stored as a Boolean?
Loading more…