Chapter 1 Flashcards

1
Q

What are the 5 components of a computer?

A

The CPU, main memory, secondary memory, input devices, output devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Negative numbers are encoded using what technique?

A

Two’s complement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Real numbers are encoded using what?

A

Floating point technique

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The CPU only understands instructions writen in ______

A

Machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In what process does the CPU read the next set of instructions?

A

Fetch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Process in which CPU dtermines which operation it should perform

A

Decode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

CPU performs the operation in this process

A

Execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A comouter can only execute programs writen in…

A

Machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This language uses short words instead of binary

A

Assembly language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are mnemonics?

A

Words used in assembly language in place of binary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an assembler?

A

Program used to translate assembly language to machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Words that make up high level programming launguages are called

A

Keywords or reserved words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What do operators do in programming languages?

A

Perform operations on data such as add, subtract, ect.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Individual instructions in a program are called

A

Statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A compiler does what?

A

Translates high level language programs into separate machine language programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A interpreter is different from a compiler how?

A

Interpreter translates each individual instruction, then executes it. It does not create a machine language program.

17
Q

True or False: Assembly language is considered a high level language

A

False

18
Q

What programs controls the basic operations of a computer?

A

System software

19
Q

What are utility programs?

A

Programs that enhance the computer’s operation (virus scanners, file compression)

20
Q

What determines the order in which things happen in a command line interface?

A

Programs

21
Q

What are the 3 windows in Visual Studio called?

A

The Designer window, solution explorer window, and the properties window

22
Q

What is an object in a program?

A

A component that contains data and performs operations

23
Q

What is data stored in an object called?

A

Fields or properties

24
Q

What are the operations that an object can perform called?

A

Methods

25
Q

The object that displays a window on the screen

A

Form object

26
Q

Object that displays text on a form

A

Label object

27
Q

Rectangular region that accepts keyboard input

A

TextBox object

28
Q

What are the objects used in a GUI?

A

Form, textbox, label, and button objects

29
Q

Objects that are visible in a program’s GUI are called

A

Controls

30
Q

What code describes a particular type of object?

A

A class

31
Q

Describe the program development cycle

A

Understand the program’s process, design the GUI, design the program’s logic, write the code, correct syntax errors, test the program & correct logic errors

32
Q

Explain what a flowchart is and what each symbol is used for.

A

The flowchart graphically depicts the steps of a program. Ovals are terminal symbols (start and end), parallelograms responds woth input or output, rectanlges are processing symbols in which the program perfomrs some process on data

33
Q

What is a toolbox?

A

A window that allows you to select controls that you want to use in the apps user interface

34
Q

What is a tooltip

A

A textbox that appears when you hover over a button that explains the object’s purpose

35
Q

What is a class in programming?

A

Code that describes a particular type of object. Specifies what data it can hold, or what actions it can perform

36
Q

What is an algorithm?

A

A set of well defined, logical steps that must be taken to perform a task

37
Q

What is psuedocode?

A

An algorithm written out in plain English statements. Helps plan out the logical steps a program will follow