Docsity

Computer Science Exam Prep: Revision Questions and Answers, Exercises of Computer Science

Toggle sidebar
bg1
1 | P a g e
2025 COMPUTER SCIENCE CROSS BOARDER
TEST WITH 100
REVISION QUESTIONS AND CORRECT
ANSWERS
(GUARANTEED PASS)/BEST PREDICTOR EXAM
Agile software development - CORRECT ANSWER>>> An approach to software development that
emphasizes a flexible and ready response to meet a shifting target.
Benchmarking - CORRECT ANSWER>>> Running a program on many data sets to be sure its
performance falls within required limits; timing the same algorithm on two different machines.
Code library - CORRECT ANSWER>>> A collection of thoroughly tested object code for various
useful tasks.
Coding - CORRECT ANSWER>>> The process of translating the detailed designs into computer
code.
Debugging - CORRECT ANSWER>>> The process of locating and correcting program errors.
Divide-and-conquer - CORRECT ANSWER>>> A program design strategy in which tasks are broken
down into subtasks, which are broken down into sub-subtasks, and so on, until each piece is small
enough to code comfortably. These pieces work together to accomplish the total job.
Empirical testing - CORRECT ANSWER>>> Designing a special set of test cases and running the
program using these test data.
Executable module - CORRECT ANSWER>>> The resulting object code after a linker inserts
requested code from code libraries.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Computer Science Exam Prep: Revision Questions and Answers and more Exercises Computer Science in PDF only on Docsity!

2025 COMPUTER SCIENCE CROSS BOARDER

TEST WITH 100

REVISION QUESTIONS AND CORRECT

ANSWERS

(GUARANTEED PASS)/BEST PREDICTOR EXAM

Agile software development - CORRECT ANSWER>>> An approach to software development that emphasizes a flexible and ready response to meet a shifting target. Benchmarking - CORRECT ANSWER>>> Running a program on many data sets to be sure its performance falls within required limits; timing the same algorithm on two different machines. Code library - CORRECT ANSWER>>> A collection of thoroughly tested object code for various useful tasks. Coding - CORRECT ANSWER>>> The process of translating the detailed designs into computer code. Debugging - CORRECT ANSWER>>> The process of locating and correcting program errors. Divide-and-conquer - CORRECT ANSWER>>> A program design strategy in which tasks are broken down into subtasks, which are broken down into sub-subtasks, and so on, until each piece is small enough to code comfortably. These pieces work together to accomplish the total job. Empirical testing - CORRECT ANSWER>>> Designing a special set of test cases and running the program using these test data. Executable module - CORRECT ANSWER>>> The resulting object code after a linker inserts requested code from code libraries.

External documentation - CORRECT ANSWER>>> Any materials assembled to clarify the program's design and implementation. Feasibility study - CORRECT ANSWER>>> A step in the software development life cycle that evaluates a proposed project and compares the costs and benefits of various solutions. Integrated development environment (IDE) - CORRECT ANSWER>>> A collection of programs that support software development, such as debuggers, editors, toolkits, and libraries, that lets programmers perform several tasks within the shell of a single application. Integration testing - CORRECT ANSWER>>> After unit testing, integration testing is done to see that the modules communicate the necessary data between and among themselves and that all modules work together smoothly. Internal documentation - CORRECT ANSWER>>> Documentation that is part of the program code itself. Linker - CORRECT ANSWER>>> A piece of system software that inserts requested object code from code libraries into the object code for the requesting program. Logic error - CORRECT ANSWER>>> An error in the algorithm used to solve a problem. Object code - CORRECT ANSWER>>> Machine language instructions. Pair programming - CORRECT ANSWER>>> Involves two programmers at a single workstation. At any given point in time, one is writing code and the other is actively observing, watching for possible errors but also thinking about the overall approach.

Software development life cycle - CORRECT ANSWER>>> The overall sequence of steps needed to complete a large-scale software project. Software engineering - CORRECT ANSWER>>> Large-scale software development. Source code - CORRECT ANSWER>>> High-level language instructions. Syntax error - CORRECT ANSWER>>> An error that occurs because a program statement fails to follow the correct rules of syntax. Technical documentation - CORRECT ANSWER>>> Documentation that enables programmers who later have to modify the program to understand the code. Third-generation language - CORRECT ANSWER>>> Another name for high-level programming language as opposed to machine language (first generation) or assembly language (second generation). Top-down decomposition - CORRECT ANSWER>>> A program design strategy in which tasks are broken down into subtasks, which are broken down into sub-subtasks, and so on, until each piece is small enough to code comfortably. These pieces work together to accomplish the total job. Syntax - CORRECT ANSWER>>> The rules for exactly how programming statements must be written; the grammatical structure of a programming language Unit testing - CORRECT ANSWER>>> Testing each module of code as it is completed. Application - CORRECT ANSWER>>> (Java) A complete standalone program that resides and runs on a self-contained computer.

External library - CORRECT ANSWER>>> A well-written, efficient, and thoroughly tested code module that is separately compiled and then drawn on by any program that wishes to use its capabilities. Functional programming languages - CORRECT ANSWER>>> Views every task in terms of functions. In this context, function means something like a mathematical function—a recipe for taking an argument (or possibly several arguments) and doing something with them to compute a single value. Knowledge base - CORRECT ANSWER>>> Facts and rules about a certain domain of interest. Open source - CORRECT ANSWER>>> Software whose source code is freely available and may be used, distributed, or modified by anyone. Recursive - CORRECT ANSWER>>> Something that is defined in terms of "smaller versions" of itself. Computational model - CORRECT ANSWER>>> A model constructed using algorithmic procedures implemented as computer programs. Computational steering - CORRECT ANSWER>>> A procedure for using a computational model to improve the design of an actual system by continually resetting model parameters to improve system performance. Computer graphics - CORRECT ANSWER>>> The field of computer science that examines the technical problems of displaying visual images on a computer screen. Continuous model - CORRECT ANSWER>>> A model of a system using mathematical equations that describe system performance as a continuous function of time t. Discrete event simulation - CORRECT ANSWER>>> A computational modeling technique that simulates the behavior of a system only at discrete points in time.

Cyberbullying - CORRECT ANSWER>>> Humiliating, taunting, threatening or invading someone's privacy using the Internet, Web, or other type of electronic technology. Ethics - CORRECT ANSWER>>> The study of how to decide if something is morally right or wrong. Hacktivism - CORRECT ANSWER>>> Hacking that is intended as political activism. Peer-to-peer file sharing - CORRECT ANSWER>>> The sharing of files between two equal participants on a network. This is distinct from the client-server model in which the two sides serve very different roles--one side only sending information (the server) and the other side only receiving information (the client). Algorithm - CORRECT ANSWER>>> Informally, an ordered sequence of instructions that is guaranteed to solve a problem; formally, a well ordered collection of unambiguous and effectively computable operations that, when executed, produces a result and halts in a finite amount of time. Computer science - CORRECT ANSWER>>> The study of algorithms, including their mathematical properties, hardware and linguistic realizations, and their applications. Computing agent - CORRECT ANSWER>>> The entity (machine, robot, person, or thing) that executes the steps of an algorithm. High-level programming language - CORRECT ANSWER>>> A programming language that uses both natural language constructs and mathematical notation. Infinite loop - CORRECT ANSWER>>> The repetitive execution of a block of operations that will never end. This is a fatal error when it occurs in an algorithm. Iterative operations - CORRECT ANSWER>>> Algorithmic operations that repeat a block of instructions.

Sequential operation - CORRECT ANSWER>>> An algorithmic operation that carries out a single task and then moves on to the next operation in sequence. (True or false) Microcomputers, the first desktop computers, were developed in the mid-1970s. - CORRECT ANSWER>>> True (True or False) A conditional operation causes its sequential operations to repeat over and over again. - CORRECT ANSWER>>> False A(n) _____________ is a named storage location that can hold a data value. - CORRECT ANSWER>>> Variable (True or False) The real power of a computer comes not from doing a calculation once but from doing it many, many times. - CORRECT ANSWER>>> True List the two parts of a while loop. - CORRECT ANSWER>>> Continuation condition and loop body List one way in which pseudocode is similar to English, and one way in which it is similar to a programming language. - CORRECT ANSWER>>> Similar to English: It uses English sentences, grammar, etc. Similar to programming language: structured, has a set of known operations, constructs similar to programming language constructs. A collection of pre-defined algorithms is called a(n) _____________. - CORRECT ANSWER>>> Library Why did we add a conditional statement to the second version of the "multiplication by repeated addition" algorithm? (a)to check if the answer value had become too large, (b) to avoid wasted computations,

Input - CORRECT ANSWER>>> An operation that causes data values from the outside world to be brought into the algorithm. Iteration - CORRECT ANSWER>>> The repetitive execution of a block of operations. Library - CORRECT ANSWER>>> A collection of useful prewritten algorithms that can be used during problem solving. Loop body - CORRECT ANSWER>>> The block of statements that are to be repetitively executed.

| P a g e Output - CORRECT ANSWER>>> An operation that causes computed values to be sent to the outside world for viewing or saving. Primitive operation - CORRECT ANSWER>>> An operation that can be directly understood by the computing agent executing the algorithm and which does not have to be further clarified or explained. Pseudocode - CORRECT ANSWER>>> A notation used to design algorithms. It uses English constructs, mathematical notation and an informal algorithmic structure designed to look like a highlevel programming language. Sequential algorithm: - CORRECT ANSWER>>> An algorithm that executes its operations in a straight line, from top to bottom, without any branching. Top-down design - CORRECT ANSWER>>> A problem solving strategy in which you begin at the highest level view of the problem and, in steps, address the lower-level details of how to accomplish each operation. Variable - CORRECT ANSWER>>> A named storage location that can hold a data value. Sorting - CORRECT ANSWER>>> The task of putting a list of values into numeric or alphabetical order. What does RGB stand for in the RGB encoding scheme? - CORRECT ANSWER>>> red, green, and blue Sampling rate and bit depth affect the quality of what kind of digital data? - CORRECT ANSWER>>> digital sound files