C++ test 1

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Characters or symbols that perform operations on one or more operands are:

Operators

Which is NOT one of the five major components of a computer system?

Preprocessor

A(n)__________ is a set of instructions that the computer follows to solve a problem.

Program

This is used in a program to mark the beginning or ending of a statement or separate items in a list

Punctuation

The computers main memory is commonly known as:

RAM

This is a volatile type of memory used for temporary storage

RAM

Internally, the CPU consists of two parts

The control unit and the Arithmetic and logic unit

At the heart of a computer is its central processing unit The CPUs job is :

To fetch instructions, do commands , produce output

A cpu really only understands instructions that are written in machine language

True

Software engineering is a field that encompasses designing writing testing debugging etc

True

The CPU is the most importand component in a computer because without it, the computer could not run the software

True

The term bit stands for binary digit

True

in c++ key words are written in all lowercase letters

True

During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions?

fetch

A(n) ________ is a diagram that shows the logical flow of a program

flowchart

What statement best describes a variable and its primary purpose?

A variable is a named storage location in the computers memory used for holding a piece of information

This step will uncover any syntax errors in your program

Compiling

A variable declaration announces the name of a variable that will be used in a program as well as:

the data type it will hold

An example of a secondary storage device is:

the disk drive

What does the term hardware refer to?

the physical components that a computer is made of

The programming process consist of several steps, which include:

Design, Creation, Testing, and Debugging

This term refers to the programmer reading the program from the beginning and stepping through each statement

Desk checking

In programming the terms line and statement alwlways mean the same thing

False

Machine language is an example of a high level language

False

Pseudocode is a form of program statement that will always evaluate to false

False

The preprocessor executes after the compiler

False

The purpose of memory address is:

to identify the location of a byte in memory

The name for a memory location that may hold data is:

variable

Programmer defined names of memory locations that may hold data are:

variables

Three primary activities of a program are

Input, processing and output

Words that have special meaning and may be used only for their intended purpose are known as

Key words

This is a set of rules that must be followed when constructing a program

syntax

The programmer usually enters source code into a computer using a:

text editor

Which of the following is a preprocessor directive?

#include <iostream>

A set of well defined steps for performing a task of solving a problem is known as a(n)

algorithm

____________ are used to translate each source code instruvtion into the appropriate machine language

compilers

The ______ decodes an instruction and generates electrical signals.

control unit

During which stage does the CPU analyze the instruction and encode it int the form of a number and then generate an electronic signal

decode

An integrated Development environment typically consists of:

editor, compiler, debugger

Mistakes that cause a running program to produce incorrect results are called

logic errors

In a broad sense the two primary categories of programming languages are:

low level and high level

An ________ is the most fundamental set of programs on a computer

operating system

Which of the following best describes an operator?

operator allows you to perform operations on one or more pieces of date

Even when there is no power to the computer, data can be held in :

secondary storage

Computer programs are also known as

software

The statements written by the programmer are called

source code

In the process of translating a source file into an executable file, which of the following is the correct sequence

source code->preprocessor->modified source->compiler->object code->linker->executable code

This is a complete instruction that causes the computer to perform some action

statement


Kaugnay na mga set ng pag-aaral

EMT Chapter 22 JB Learning, EMT Chapter 21 JB Learning, EMT Chapter20 JB Learning, EMT Chapter 19 JB Learning, EMT Chapter 18 JB Learning, EMT Chapter 17 JB Learning, EMT Chapter 16 JB Learning, EMT Chapter 15 JB Learning, EMT Chapter 14 JB Learning

View Set

Lowdermilk 11th Ed. Chapter 28: Hemorrhagic Disorders

View Set

Bailey Chemistry Final Review 2018

View Set

Data Structures Final Exam Review (Advantages/Disadvantages)

View Set