COSC 1315

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

The ________ coding scheme contains a set of 128 numeric codes that are used to represent characters in a computer's memory.

ASCII

________ comments take up several lines and are used when lengthy explanations are required in the program.

Block

The module definition comprises the module header and the module ________.

Body

True/False: A bit that is turned off is represented by the value -1.

False

True/False: A named constant can be assigned a value using a Set statement.

False

True/False: An uninitialized variable is a variable that has been declared and automatically initialized to zero.

False

True/False: Computers are designed to do just one job.

False

True/False: Most programs written in a high-level language need to be translated into machine language.

False

True/False: Ovals are used as terminal symbols marking the starting and end of the pseudocode.

False

True/False: Programmers start writing code as the first step when they begin a new project.

False

True/False: The expressions (a + b) / c and a + b / c will always yield identical results.

False

The process known as the ________ cycle is used by the CPU to execute instructions in a program.

Fetch-decode-execute

The program development cycle is made up of ________ steps that are repeated until no errors can be found in the program.

Five

The ________ is a diagram that graphically depicts the steps that take place in a program.

Flowchart

True/False: A computer is not a single device, but a system of devices that work together to manipulate data according to the instructions provided.

True

True/False: A sequence of characters that is used as data is called a string in programming.

True

True/False: A variable is a storage location in memory that is represented by a name and can hold different values during the execution of the program.

True

True/False: If you mistakenly write pseudocode into an editor for an actual programming language, such as Python or Visual Basic, errors will result.

True

True/False: RAM is a volatile memory used for temporary storage while a program is running.

True

True/False: The structure of the camelCase naming convention is to write the first word of the variable name in lowercase letters and then to capitalize the first character of the second and subsequent words.

True

A(n) ________ is used to translate Assembly language programs to machine language to be executed by the CPU.

assembler

A(n) ________ is a list of instructions that cause the central processing unit to perform operations to complete a task.

program

Computers can do such a wide variety of things because they can be ________.

programmed

Which of the following devices is a computer?

All of the above

True/False: Programs that use an interpreter generally execute faster than compiled programs because they are already entirely translated into machine language when executed.

Answer: False

The ________ is an extensive encoding scheme that is compatible with ASCII and can represent the characters of all the languages in the world.

Answer: Unicode

Programs that make a computer useful for everyday tasks are known as ________.

Application Software

Which computer language uses short words known as mnemonics for writing programs?

Assembly

The ________ is the most important component in a computer because without it, the computer could not run software.

CPU

Which of the following is not a microprocessor manufacturing company?

Dell

What is the first step of the program development cycle?

Design the program

________ documentation is a reference guide that describes the features of the program, designed for the user.

External

True/False: Assembly language is referred to as a low-level language because it is close to the C++ language.

FALSE

True/False: The term "software" refers to all the physical devices, or components, that a computer is made of.

FALSE

________ was the first high-level programming language designed that could perform complex mathematical calculations.

FORTRAN

The ________ is used to encode real numbers to store them in the computer's memory.

Floating-point notation

Which type of variable is not recommended to be used in programs because they make programs hard to understand and debug?

Global

The process where the programmer steps through each of the program's statements one by one is called ________.

Hand tracing

What is another term used for "desk checking"?

Hand tracing

________ is the term used to refer to all the physical devices that make up a computer.

Hardware

________ software packages usually consist of a text editor, a compiler or interpreter, and tools for testing programs and locating errors.

Integrated Development Environment

The following is an example of an instruction written in which computer language? 10110000

Machine language

Which of the following is not an example of operating system software?

Microsoft Word

What is the largest value that can be stored in one byte?

255

What phrase is placed in the starting terminal symbol of a module in a flowchart?

Name of the module

A(n) ________ is a name that represents a value that cannot be changed during the program's execution.

Named constant

Which mathematical operator is used to raise five to the second power?

^

A(n) ________ is a set of well-defined logical steps that must be taken to perform a task.

algorithm

In ________, all numeric values are written as a sequence of 1s and 0s.

binary

The smallest storage location in a computer's memory is known as a ________.

bit

The term ________ stands for a binary digit.

bit

A(n) ________ is a program that translates a high-level language program into a separate machine language program.

compiler

The word ________ is used to declare a named constant.

constant

The ________ process occurs when the programmer finds and corrects the code that is causing the error(s).

debugging

A(n) ________ statement can be used to initialize multiple variables.

declaration

What term can be used to describe anything that uses binary numbers?

digital

USB drives store data in a special type of memory known as ________.

flash memory

A(n) ________ language allows the programmer to create very powerful and complex programs without knowing how the CPU works.

high-level

To determine a program's ________ requirements, you must determine the pieces of data required for the program to complete its task.

input

The entire set of instructions that a central processing unit can execute is known as the ________.

instruction set

The comments the programmer places in the code explaining how different parts of the program work are known as ________ documentation.

internal

Which error produces incorrect results but does not prevent the program from running?

logic

The disk drive is a secondary storage device that stores data by ________ encoding it onto circular disks.

magnetically

Programmers use operators to create ________ expressions to perform calculations and return a value.

mathematical

A(n) ________ is a group of statements that performs a specific task which is resident within the program.

module

The ________ operator performs division and returns the remainder.

modulus

In the expression 57 6, the values 57 and 6, which are on the left and right of the symbol, respectively, are called ________.

operands

Data is not recorded magnetically on a(n) ________, but is encoded as a series of pits on the disk surface.

optical disk

A program's ________ will typically be the result of the process or processes that it has performed.

output

The ________ symbol is used to represent the inputs and outputs in the steps of the program.

parallelogram

A(n) ________ is a person with the training and skill needed to design, create, and test computer programs.

programmer

A ________ is a list of requirements created after studying the information gathered from interviews with the customer.

software requirement

The statements that a programmer writes in a high-level language are called ________.

source code

In many programming languages, ________ variables hold unpredictable values, but in other languages, a default value is assigned to such variables.

uninitialized

When a mathematical calculation is performed, you typically want to store the result of that calculation in a(n) ________.

variable

A(n) ________ statement specifies the variable's name and the variable's data type.

variable declaration

The ending terminal symbol for modules reads ________ because it marks the point where the computer returns to the part of the program that called the module.

Return

A ________ structure is a set of statements that execute in the order they appear.

Sequence

A program cannot be translated if it has ________ errors.

syntax

The term used for a set of rules that must be strictly followed when writing a program is ________.

syntax

Computer programs perform a ________ - step process.

three

The value of the expression 12 - 4 * 3 / 2 + 9 is ________.

15

Which of the following is not a variable data type?

Number

A computer system consists of all of the following, except ________.

Operating System

Which symbol is used for an assignment statement in a flowchart?

Processing

What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?

Pseudocode

Which of the following is not an actual programming language?

Pseudocode

What symbol is used to mark the beginning and end of a string?

Quotation

The main memory is called ________ because the CPU is able to quickly access data stored at any random location.

RAM

What term is used for a string that appears in the actual code of a program?

String literal

True/False: Each instruction written in a high-level programming language is called a statement.

TRUE

What function(s) does an interpreter perform with the instructions in a high-level programming language?

Translates and Execute

True/False: Most programming languages do not automatically print spaces between multiple items that are displayed on the screen.

True

True/False: Programmers use pseudocode to create "mock-ups" of programs because they do not have to worry about syntax rules.

True

True/False: The CPU understands instructions in machine language, which are written in binary.

True

True/False: The instruction set for a microprocessor is unique and is typically understood only by the microprocessors of the same brand.

True

True/False: The main reason for using secondary storage is to hold data for long periods of time, even when the power to the computer is turned off.

True

What is the encoding technique called that is used to store negative numbers in the computer's memory?

Twos Complement

The ________ is an extensive encoding scheme that is compatible with ASCII and can represent the characters of all the languages in the world.

Unicode

________ software is characterized by programs whose clear displays and understandable prompts are easy to use.

User-friendly


Set pelajaran terkait

Chapter 1: End of Chapter Practice Quiz

View Set

Read Theory Answers (36 Passages)

View Set

Chapter 31: Assessment of Immune Function

View Set