jrkjlove
Quiz by , created more than 1 year ago

Quiz on C# Chapter 1, created by jrkjlove on 06/09/2014.

237
0
0
No tags specified
jrkjlove
Created by jrkjlove about 10 years ago
Close

C# Chapter 1

Question 1 of 48

1

A(n) __________ is a set of instructions that a computer follows to perform a task.

Select one of the following:

  • compiler

  • program

  • interpreter

  • programming language

Explanation

Question 2 of 48

1

The physical devices that a computer is made of are referred to as __________.

Select one of the following:

  • hardware

  • software

  • the operating system

  • tools

Explanation

Question 3 of 48

1

The part of a computer that runs programs is called __________.

Select one of the following:

  • RAM

  • secondary storage

  • main memory

  • the CPU

Explanation

Question 4 of 48

1

Today, CPUs are small chips known as __________.

Select one of the following:

  • ENIACs

  • microprocessors

  • memory chips

  • operating systems

Explanation

Question 5 of 48

1

The computer stores a program while the program is running, as well as the data
that the program is working with, in __________.

Select one of the following:

  • secondary storage

  • the CPU

  • main memory

  • the microprocessory

Explanation

Question 6 of 48

1

__________ is a volatile type of memory that is used only for temporary storage
while a program is running.

Select one of the following:

  • RAM

  • secondary storage

  • the disk drive

  • the USB drive

Explanation

Question 7 of 48

1

A type of memory that can hold data for long periods of time—even when there is
no power to the computer—is called __________.

Select one of the following:

  • RAM

  • main memory

  • secondary storage

  • CPU storage

Explanation

Question 8 of 48

1

A component that collects data from people or other devices and sends it to the
computer is called __________.

Select one of the following:

  • an output device

  • an input device

  • a secondary storage device

  • main memory

Explanation

Question 9 of 48

1

A video display is a(n) __________ device.

Select one of the following:

  • output device

  • input device

  • secondary storage device

  • main memory

Explanation

Question 10 of 48

1

A __________ is enough memory to store a letter of the alphabet or a small number.

Select one of the following:

  • a byte

  • bit

  • switch

  • transisitor

Explanation

Question 11 of 48

1

A byte is made up of eight __________.

Select one of the following:

  • CPUs

  • instructions

  • variables

  • bits

Explanation

Question 12 of 48

1

In the __________ numbering system, all numeric values are written as sequences of
0s and 1s.

Select one of the following:

  • hexadecimal

  • binary

  • octal

  • decimal

Explanation

Question 13 of 48

1

A bit that is turned off represents the following value: __________.

Select one of the following:

  • 1

  • -1

  • 0

  • "no"

Explanation

Question 14 of 48

1

A set of 128 numeric codes that represent the English letters, various punctuation
marks, and other characters is __________.

Select one of the following:

  • binary numbering

  • ASCII

  • Unicode

  • ENIAC

Explanation

Question 15 of 48

1

An extensive encoding scheme that can represent the characters of many of the lan-
guages in the world is __________.

Select one of the following:

  • binary numberin

  • Unicode

  • ASCII

  • ENIAC

Explanation

Question 16 of 48

1

Negative numbers are encoded using the __________ technique.

Select one of the following:

  • two's complement

  • floating point

  • ASCII

  • Unicode

Explanation

Question 17 of 48

1

Real numbers are encoded using the __________ technique.

Select one of the following:

  • two's complement

  • floating point

  • ASCII

  • Unicode

Explanation

Question 18 of 48

1

The tiny dots of color that digital images are composed of are called __________.

Select one of the following:

  • bits

  • bytes

  • color packets

  • pixels

Explanation

Question 19 of 48

1

If you were to look at a machine language program, you would see __________.

Select one of the following:

  • c# code

  • a stream of binary numbers

  • English words

  • circuits

Explanation

Question 20 of 48

1

In the __________ part of the fetch-decode-execute cycle, the CPU determines which
operation it should perform.

Select one of the following:

  • fetch

  • decode

  • execute

  • immediately after the instruction is executed

Explanation

Question 21 of 48

1

Computers can execute only programs that are written in __________.

Select one of the following:

  • C#

  • assembly language

  • machine language

  • Java

Explanation

Question 22 of 48

1

The __________ translates an assembly language program to a machine language
program.

Select one of the following:

  • assembler

  • compiler

  • translator

  • interpreter

Explanation

Question 23 of 48

1

The words that make up a high-level programming language are called __________.

Select one of the following:

  • binary instructions

  • mnemonics

  • commands

  • keywords

Explanation

Question 24 of 48

1

The rules that must be followed when writing a program are called __________.

Select one of the following:

  • syntax

  • punctuation

  • keywords

  • operators

Explanation

Question 25 of 48

1

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

Select one of the following:

  • assembler

  • compiler

  • translator

  • utility

Explanation

Question 26 of 48

1

A __________ is any hypothetical person using a program and providing input for
it.

Select one of the following:

  • designer

  • user

  • guinea pig

  • test subject

Explanation

Question 27 of 48

1

A __________ error does not prevent the program from running but causes it to
produce incorrect results.

Select one of the following:

  • syntax

  • hardware

  • logic

  • fatal

Explanation

Question 28 of 48

1

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

Select one of the following:

  • logarithm

  • plan of action

  • logic schedule

  • algorith

Explanation

Question 29 of 48

1

An informal language that has no syntax rules and is not meant to be compiled or
executed is called __________.

Select one of the following:

  • faux code

  • pseudocode

  • C#

  • a flowchart

Explanation

Question 30 of 48

1

A __________ is a diagram that graphically depicts the steps that take place in a
program.

Select one of the following:

  • flowchart

  • stepchart

  • code graph

  • program graph

Explanation

Question 31 of 48

1

Objects that are visible in a program’s graphical user interface are commonly re-
ferred to as __________.

Select one of the following:

  • buttons

  • controls

  • forms

  • windows

Explanation

Question 32 of 48

1

A __________ is code that describes a particular type of object.

Select one of the following:

  • namespace

  • blueprint

  • schema

  • class

Explanation

Question 33 of 48

1

The __________ is a collection of classes and other code that can be used, along with
a programming language such as C#, to create programs for the Windows operating
system.

Select one of the following:

  • .NET framework

  • Standard Template Library

  • GUI framework

  • MSDN Library

Explanation

Question 34 of 48

1

The __________ is the part of a computer with which the user interacts.

Select one of the following:

  • central processing unit

  • user interface

  • control system

  • interactivity system

Explanation

Question 35 of 48

1

Before GUIs became popular, the __________ interface was the most commonly
used.

Select one of the following:

  • command line

  • remote terminal

  • sensory

  • event-driven

Explanation

Question 36 of 48

1

__________ programs are usually event driven.

Select one of the following:

  • command line

  • text-based

  • GUI

  • procedural

Explanation

Question 37 of 48

1

Today, CPUs are huge devices made of electrical and mechanical components such
as vacuum tubes and switches.

Select one of the following:

  • True
  • False

Explanation

Question 38 of 48

1

Main memory is also known as RAM.

Select one of the following:

  • True
  • False

Explanation

Question 39 of 48

1

Any piece of data that is stored in a computer’s memory must be stored as a binary
number.

Select one of the following:

  • True
  • False

Explanation

Question 40 of 48

1

Images, such as the ones you make with your digital camera, cannot be stored as
binary numbers.

Select one of the following:

  • True
  • False

Explanation

Question 41 of 48

1

Machine language is the only language that a CPU understands.

Select one of the following:

  • True
  • False

Explanation

Question 42 of 48

1

Assembly language is considered a high-level language.

Select one of the following:

  • True
  • False

Explanation

Question 43 of 48

1

An interpreter is a program that both translates and executes the instructions in a
high-level language program.

Select one of the following:

  • True
  • False

Explanation

Question 44 of 48

1

A syntax error does not prevent a program from being compiled and executed.

Select one of the following:

  • True
  • False

Explanation

Question 45 of 48

1

Windows, Linux, UNIX, and Mac OS are all examples of application software.

Select one of the following:

  • True
  • False

Explanation

Question 46 of 48

1

Word processing programs, spreadsheet programs, e-mail programs, Web browsers,
and games are all examples of utility programs.

Select one of the following:

  • True
  • False

Explanation

Question 47 of 48

1

Programmers must be careful not to make syntax errors when writing pseudocode
programs.

Select one of the following:

  • True
  • False

Explanation

Question 48 of 48

1

C# provides only the basic keywords and operators that you need to construct a
program.

Select one of the following:

  • True
  • False

Explanation