Fund Comp. Principles of Comp programming test. Flashcards
(24 cards)
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
They run slower than machine language
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
Learning a high-level language takes less time than other types of computer languages
HTML is an example of which of the following types of computer languages?
Application language
System language
Database language
Webpage language
Webpage language
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 8 bit code can represent a 128 color image
The process of converting a vector graphic into a bit-map image is called which of the following?
Rendering
Adapting
Transforming
Displaying
Rendering
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
It is stored and processed in decimal format
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
It is usually created by programmers after writing a program
SQL (Structured Query Language) is which of the following types of computer languages?
Application language
System language
Database language
Webpage language
Database language
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
Interpreter
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 website
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
High-level languages do not allow a program to be written on one computer and then run on a
different computer
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
Machine language
How many characters are used in Western text?
Around 40
Around 60
Around 80
Around 120
Around 80
Four Gigabytes is equal to which of the following?
1024 Kilobytes
24 Terabytes
8 Kilobytes
4096 Megabytes
4096 Megabytes
Which of the following decimal numbers does the binary number 1110 represent?
14
15
20
9
14
How many characters does ASCII allow?
34
48
96
128
128
2048 Kilobytes is equal to which of the following?
8 Megabytes
1024 Gigabyte
2 Megabytes
24 bytes
2 Megabytes
Which of the following binary codes represent the number five?
0110
1001
1111
0101
0101
Which of the following is NOT an application language?
FileMaker
C++
BASIC
Pascal
FileMaker
Which of the following is NOT an example of a high-level language?
BASIC
COBOL
FORTRAN
Binary code
Binary code
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
Source, Executable
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
1 matrix
2 higher
Can be represented in several ways
_______ Representation
_______ Graphic representation
1-Bit-mapped
2-Vector