Computer C Language Flashcards

(31 cards)

1
Q

What is a program?

A

A program is a set of instructions tells the computer what to do and how to do.

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

What is a programming language?

A

A programming language is a set of words and symbols used to write programs. It is a means of communication between a user and a computer.

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

What is a computer?

A

A computer is a device that follows the instructions given to it.

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

What is a computer program?

A

A well-defined set of instructions given to the computer is called a computer program.

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

What is machine language?

A

Machine language is a type of language in which instructions are written in binary form. It is the only language that is directly understood by the computer. It is the native language of computer.

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

How does a computer understand machine language?

A

A program written in machine lamguage can be executed very fast by the computer. The computer does not need any translator to understand machine language.

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

What is a characteristic of programs written in machine language?

A

Programs written in machine language can be executed very fast by the computer.

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

What are the two main categories of low-level languages?

A

The two main categories of low-level languages are machine language and assembly language.

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

What is the relationship between low-level languages and hardware?/ What is low-level languages?

A

Low-level languages are near to computer hardware and far from human languages.

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

What are the two types of computer programming languages?

A

The two types of computer programming languages are low-level languages and high-level languages.

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

What is the difficulty level of learning machine language?

A

Machine language is difficult to understand and learn. The process of writing and modifying program in machine language takes a lot of time.

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

What are mnemonics?

A

In assembly language, machine instructions are replaced with English-like words known as Mnemonics. It is pronounced as Ne-Monics.

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

How is ‘mnemonics’ pronounced?

A

It is pronounced as Ne-Monics.

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

What is assembly language?

A

Assembly language is a low-level programming language.

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

How does assembly language relate to machine language?

A

In assembly language, machine instructions are replaced with English-like words known as Mnemonics. It is pronounced as Ne-monics.

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

What is the level of assembly language compared to machine language?

A

Assembly language is one step higher than machine language.

17
Q

What is a challenge of using assembly language?

A

Writing programs in assembly language takes a lot of time.

18
Q

What is an assembler?

A

An assembler is a translator which is used to convert assembly language programs into machine language.

19
Q

Can programs written in assembly language be executed directly by a computer?

A

No, programs written in assembly language cannot be executed by the computer directly.

20
Q

What is assembly language mostly used for?

A

Assembly language is mostly used for writing system software.

21
Q

How do programs written in assembly language compare to machine language programs?

A

Programs written in assembly language are easier to write and modify than machine language programs.

22
Q

What does BASIC?

A

BASIC stands for Beginner All-purpose Symbolic Instruction Code. It was used mainly by students to use rhe computer to solve simple problems.

23
Q

What is FORTRAN?

A

FORTRAN stands for Formula Translation. It has very powerful mathematical capabilities.

24
Q

What is Pascal?

A

Pascal is used for both scientific and business applications.

25
What is Java known for?
Java is a popular programming language and provide strong features for network programming capabilities.
26
What is C/C++ used for?
C++ is used to write system software and application software.
27
What is a high-level language?
A high-level language is a type of programming language that is close to human languages. The instructions in these languages are similar to English languages such as input and print etc. These languages are easy to understand.
28
What is syntax in programming?
Syntax is a set of rules for writing programs in a high-level language. Each language has its own syntax.
29
What happens if a program contains a syntax error?
A program cannot be converted into machine language if it contains any syntax error.
30
What is the main characteristic of high-level languages?
High-level languages are easier to understand and similar to the English language.
31
What does COBOL?
COBOL stands for Common Business Oriented Language. It is used to write business applications.