COMPILER WEEK 1 Flashcards

1
Q

Definition: A language used to write instructions or programs for computers to execute.

A

Term: Programming Language

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

Definition: The lowest-level language that computers can understand. It consists of instructions written in binary code.

A

Term: Machine Language

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

Definition: A program that translates source code written in a programming language into machine language that can be executed by a computer.

A

Term: Compiler

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

Definition: A popular third-generation programming language that is widely used for system programming and high-performance computing. It is a procedural language that supports the collection of sets of instructions into functions.

A

Term: C Language

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

Definition: A program that translates C language statements into machine language equivalents. The output from a compiler is binary code that can be executed by a computer.

A

Term: C Compiler

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

Definition: Machine language instructions that are generated by a compiler from source code. It is the only language that a computer can directly execute.

A

Term: Binary Code

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

Definition: The human-readable version of a program written in a programming language. It is translated into binary code by a compiler.

A

Term: Source Code

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

Definition: Data that is provided to a program while it is executing. This can be entered by a user or read from a file.

A

Term: Input

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

Definition: Data that is produced by a program while it is executing. This can be displayed on a screen, written to a file, or sent to another program.

A

Term: Output

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

Definition: The set of rules that defines the structure and format of statements in a programming language. Correct syntax is required for a program to compile and execute properly.

A

Term: Syntax

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

Front:
What is the name of the C compiler that ships with Linux operating systems?

A

Back:
The C compiler that ships with Linux operating systems is called gcc.

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

Front:
What is the default output file name produced by the gcc compiler in Linux?

A

Back:
The default output file name produced by the gcc compiler in Linux is a.out

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

Front:
What is the purpose of comments in C programming?

A

Back:
Comments in C programming serve the purpose of self-documenting the code and enhancing its readability.

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

Front:
What is whitespace in C programming?

A

Back:
Whitespace in C programming refers to any blank space, newline, horizontal tab, vertical tab, form feed, or comments.

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

Front:
Does the C compiler ignore whitespace?

A

Back:
Yes, the C compiler ignores whitespace altogether.

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

What is the program entry point in every C program?

A

Back:
The program entry point in every C program is the clause int main(void).

17
Q

Back:
The purpose of the return statement in C programming is to transfer control back to the operating system after executing the program.

A

Front:
What is the purpose of the return statement in C programming?

18
Q

Is the C programming language case sensitive?

A

Back:
Yes, the C programming language is case sensitive.