Free Practice Quiz Question List

1 Computational Thinking and Problem Solving Online Quiz Questions

Use this free practice quiz with 20 questions to review 1 Computational Thinking and Problem Solving, test your knowledge, and prepare for your next test or exam.

20 questions
01
Choose one
1 point

A programmer is designing a weather application that displays a current forecast. Which representation best applies abstraction for this purpose?

  1. A

    A detailed model of every satellite, sensor, database, and communication event

  2. B

    A representation containing location, current temperature, weather condition, and forecast time

  3. C

    A complete map of every building and road near the user

  4. D

    Only the application's source-code files

02
Choose one
1 point

Which set contains the three parts of a computational solution described in the material?

  1. A

    A problem, a representation, and a process

  2. B

    A computer, a programming language, and a network

  3. C

    A user interface, a database, and a printer

  4. D

    An input device, an operating system, and a file

03
Fill in the blank
1 point

Breaking a complex problem into smaller, manageable subproblems is called . A separately organized part of a system is called a .

04
Written response
1 point

Using the rule Fahrenheit=Celsius×95+32Fahrenheit = Celsius \times \frac{9}{5} + 32, what is the equivalent of 2020 degrees Celsius? Enter the value in degrees Fahrenheit.

05
Fill in the blank
1 point

When testing an algorithm, cases at the limits are called , while cases with unacceptable or malformed inputs are called .

06
Choose all
1 point

Which choices are the three parts of a computational solution? Select all correct choices.

  1. A

    A clearly stated task or question

  2. B

    A useful description of the input, relevant information, and desired output

  3. C

    A precise method that transforms the input into the output

  4. D

    A specific brand of computer hardware

  5. E

    A particular programming language

07
Choose all
1 point

Which are advantages of a sensible modular design? Select all correct choices.

  1. A

    Smaller parts are easier to understand

  2. B

    Errors are easier to locate

  3. C

    Components can be reused

  4. D

    Different people can work on different components

  5. E

    Every system automatically becomes simpler when divided into any number of parts

08
Open ended
1 point

Design and describe an algorithm that determines whether a student qualifies for a certificate when the average of three scores must be at least 7070 and no individual score may be below 5050. Include important test cases.

09
Choose one
1 point

A route-planning problem needs to model locations and the connections between them. Which representation most directly exposes these relationships for an algorithm?

  1. A

    A single unsorted text paragraph

  2. B

    A list containing only the names of locations

  3. C

    A graph with locations as vertices and connections as edges

  4. D

    A collection of unrelated images

10
Choose one
1 point

A program executes without crashing, but it reports that a student qualifies even though one score is below the required minimum. What type of error is this?

  1. A

    A missing punctuation mark prevents the program from being parsed

  2. B

    The program attempts an operation that fails while it is running

  3. C

    The program runs successfully but calculates an incorrect qualification result

  4. D

    The editor cannot open the source file

11
Choose one
1 point

A weather application needs to display a location, its current temperature, the weather condition, and the forecast time. Which representation best applies abstraction for this purpose?

  1. A

    A complete model of every satellite, sensor, network connection, database operation, and interface event

  2. B

    A representation containing the location, current temperature, weather condition, and forecast time

  3. C

    A list of every building, tree, and street near the user’s location

  4. D

    The electrical signals used by the computer to receive weather data

12
Choose one
1 point

A team is designing a library checkout system. Which plan most effectively applies decomposition?

  1. A

    Write one large procedure that handles every library action from start to finish

  2. B

    Create a separate module for every individual character displayed on the screen

  3. C

    Separate the system into identifying books, checking availability, recording checkout information, calculating due dates, and updating availability

  4. D

    Ask several programmers to implement the entire system independently without assigning responsibilities

13
Choose one
1 point

A programmer notices that calculating a product total, a test-score total, and a road-distance total all involve starting at zero and adding each value in a collection. What is the most appropriate use of pattern recognition?

  1. A

    Use one reusable accumulation procedure for each collection of values

  2. B

    Design three completely unrelated procedures because the contexts use different words

  3. C

    Sort every collection before adding its values

  4. D

    Replace the repeated addition with a random selection of one value

14
True or false
1 point

True or false: Programming and problem solving are identical because every problem-solving activity must involve writing code.

  1. A

    True

  2. B

    False

15
Choose one
1 point

A program must find a value in a very large list. Which statement best explains why binary search may be more efficient than a one-by-one search?

  1. A

    A one-by-one search is always faster because it uses fewer comparisons in every situation

  2. B

    Binary search works only when the list is unsorted, whereas one-by-one search requires sorted data

  3. C

    The two methods must have the same efficiency because both can find an item

  4. D

    Binary search can repeatedly discard half of a sorted list, while a one-by-one search generally examines items sequentially

16
Written response
1 point

In the algorithm that finds the largest number, the stored value remains the greatest value examined so far after each iteration. What is this maintained condition called?

17
Written response
1 point

A temperature-conversion program uses the rule F=C×95+32F = C \times \frac{9}{5} + 32. What Fahrenheit value should it produce when the input is 2020 degrees Celsius?

18
True or false
1 point

True or false: An algorithm can be considered satisfactory even if it works for only one specific valid input, as long as it produces the correct result for that input.

  1. A

    True

  2. B

    False

19
True or false
1 point

True or false: Binary search can safely be used to find an item in a list only when the list has been arranged in an appropriate sorted order.

  1. A

    True

  2. B

    False

20
Written response
1 point

Which algorithm property is required when a procedure must eventually stop after a finite number of steps? Enter the property name.