Fund Comp. Principles of Comp programming test. Flashcards

(24 cards)

1
Q

Which of the following is correct about assembly languages?

They are a type of high-level programming languages

It is more difficult to write in an assembly language than machine language

They run slower than machine language

Machine language is one step up from assembly languages

A

They run slower than machine language

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

Which of the following is an advantage of high-level languages?

They create smaller programs

Learning a high-level language takes less time than other types of computer languages

Programs written in high-level languages run faster than other types of computer languages

It is easy to create a complier for a high-level language

A

Learning a high-level language takes less time than other types of computer languages

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

HTML is an example of which of the following types of computer languages?

Application language

System language

Database language

Webpage language

A

Webpage language

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

Which of the following statements is NOT true?

A 4 bit code can represent a 16 color image

A 8 bit code can represent a 128 color image

A 16 bit code can represent a 65,536 color image

A 24 bit code can represent a 16 million color image

A

A 8 bit code can represent a 128 color image

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

The process of converting a vector graphic into a bit-map image is called which of the following?

Rendering

Adapting

Transforming

Displaying

A

Rendering

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

Which of the following is NOT true about data?

It is information processed or stored by a computer

It is stored and processed in decimal format

It can be in the form of figures, texts, images or other types of information

It can be transferred from one computer to another

A

It is stored and processed in decimal format

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

Which of the following is NOT true about a flow chart?

It is usually created by programmers after writing a program

It shows programmers different algorithms before creating a program

It uses boxes of different shapes which indicate different types of instructions

It helps programmers pay attention to the logic of the solution to the problem

A

It is usually created by programmers after writing a program

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

SQL (Structured Query Language) is which of the following types of computer languages?

Application language

System language

Database language

Webpage language

A

Database language

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

Which of the following is a computer program which converts the source code into machine language one
line at a time?

Interpreter

Complier

Converter

RAM

A

Interpreter

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

Which of the following programs CANNOT be written in BASIC language?

A music player

A website

A financial management program

A data transfer program

A

A website

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

Which of the following is NOT true about high-level languages?

It is faster to write in a high-level language than in assembly language or machine language

Learning a high-level language takes less time

High-level languages are easier to read and understand

High-level languages do not allow a program to be written on one computer and then run on a
different computer

A

High-level languages do not allow a program to be written on one computer and then run on a
different computer

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

Which of the following types of computer languages uses binary code to communicate with the computer?

High-level languages

Assembly languages

Machine language

Database languages

A

Machine language

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

How many characters are used in Western text?

Around 40

Around 60

Around 80

Around 120

A

Around 80

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

Four Gigabytes is equal to which of the following?

1024 Kilobytes

24 Terabytes

8 Kilobytes

4096 Megabytes

A

4096 Megabytes

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

Which of the following decimal numbers does the binary number 1110 represent?

14

15

20

9

A

14

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

How many characters does ASCII allow?

34

48

96

128

17
Q

2048 Kilobytes is equal to which of the following?

8 Megabytes

1024 Gigabyte

2 Megabytes

24 bytes

18
Q

Which of the following binary codes represent the number five?

0110

1001

1111

0101

19
Q

Which of the following is NOT an application language?

FileMaker

C++

BASIC

Pascal

20
Q

Which of the following is NOT an example of a high-level language?

BASIC

COBOL

FORTRAN

Binary code

21
Q

Is a computer program which translates a series of high-level language codes into a separate series of
machine language codes

Takes two steps to convert the codes

first, the compiler converts the entire _____ code into machine language

the compiler then stores the machine language codes in a separate file, known as an _______
file

A

Source, Executable

22
Q

Are displayed as a _________ of pixels

the color of each pixel is represented by a binary code

the more pixels in the image the __________ the resolution

Resolution: the number of pixels in the width and height of the image

A

1 matrix

2 higher

23
Q

Can be represented in several ways

_______ Representation

_______ Graphic representation

A

1-Bit-mapped

2-Vector