

































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


































CS 120 Computational Thinking module 1
C) Abstraction D) Algorithm design Correct Answer: Pattern recognition Rationale: Pattern recognition involves identifying similarities, trends, and repeated structures across data or problems. This helps in grouping similar cases, predicting outcomes, and reusing solutions. Decomposition breaks problems down, abstraction filters details, and algorithm design creates step-by-step solutions.
C) Compilation D) Algorithm design Correct Answer: Compilation Rationale: The four pillars of computational thinking are decomposition, pattern recognition, abstraction, and algorithm design. Compilation is a process in software development that translates source code into machine code, not a pillar of computational thinking.
A) Computational thinking is a subset of computer science focused only on programming B) Computer science is a subset of computational thinking focused only on hardware C) Computational thinking is a problem-solving approach that draws on concepts from computer science D) They are completely unrelated fields of study Correct Answer: Computational thinking is a problem-solving approach that draws on concepts from computer science Rationale: Computational thinking is a problem-solving approach that uses ideas from computer science, such as decomposition, abstraction, and algorithms, to solve problems in various domains. It is not limited to programming or hardware, and the two fields are related but not identical.
Rationale: An algorithm is a finite, well-defined sequence of steps that solves a problem. It must have clear inputs and outputs, be definite, finite, and effective. It is not infinite, random, or merely a visual representation.
B) The algorithm may never terminate, causing an infinite loop C) The algorithm will be easier to understand D) The algorithm will require less memory Correct Answer: The algorithm may never terminate, causing an infinite loop Rationale: Finiteness is a key property of algorithms, meaning they must terminate after a finite number of steps. If an algorithm lacks finiteness, it may run indefinitely, causing an infinite loop and never producing a result. It does not ensure correctness or improve understanding.
B) A painting hanging on a wall C) A random collection of numbers D) A computer's hard drive Correct Answer: A recipe for baking a cake Rationale: A recipe is a finite, well-defined sequence of steps for achieving a specific outcome (baking a cake), making it an everyday example of an algorithm. A painting, random numbers, and a hard drive are not algorithms.
Rationale: Pseudocode allows programmers to focus on the logic and structure of an algorithm without being concerned with the specific syntax of a programming language. It is a planning and communication tool. It does not test performance, generate code automatically, or encrypt code.
Rationale: A device driver is system software that enables communication between the operating system and hardware devices like printers, graphics cards, or network adapters. Spreadsheet, browser, and photo editing programs are application software.
memory, input/output, and bus systems. It does use a CPU and is not limited to quantum computing.
automatically increased, and the computer does not typically shut down immediately.
Correct Answer: Microsoft Excel Rationale: Microsoft Excel is application software designed for spreadsheet tasks. Windows and Linux are operating systems (system software), and BIOS is firmware that initializes hardware during startup.