CSCI 223 Quiz 1 (1.1 - 1.3) Flashcards

1
Q

source program

A

created with an editor and saved in a text file (extension .c)

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

how many bits are in a byte

A

8

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

files that consist exclusively of ASCII characters are known as ?; all other files are known as

A

text files; binary files

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

? goes into the preprocessor and ? comes out

A

source program (text); modified source program (text)

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

? goes into the compiler and ? comes out

A

modified source program (text); assembly program (text)

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

? goes into the assembler and ? comes out

A

assembly program (text); object file (binary)

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

? goes into the linker and ? comes out

A

object file (binary); executable file (binary)

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

what programs perform the four phases of preprocessing, compiling, assembling, and linking?

A

preprocessor, assembler, compiler, linker

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

Why do we need to understand how compilation systems work?

A

to optimize program performance, understand link-time errors, and avoid security holes

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