• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 86 pages
Exam (elaborations)

CS 1325 EXAM 1 420+ (Latest Edition) 100% Verified Q&A + Answer Key Solutions

Document preview thumbnail
Preview 4 out of 86 pages

CS 1325 EXAM 1 420+ (Latest Edition) 100% Verified Q&A + Answer Key Solutions

Content preview

CS 1325 EXAM 1
420+ (Latest 2025-2026 Edition) 100% Verified Q&A + Answer Key Solutions




Question 1


What are the phases of compilation-based execution of a C prorgram?
Correct!

1. Edit
2. Preprocess
3 Compile
4. Link
5. Load
6. Execute




Question 2


What does the edit phase of a C program has to be accomplished by?
Correct!

An editor program




Question 3


T/F:
Correct!
C program are typed in with the linker.


False, C program are typed in with the editor and corrections are made if necessary




Question 4


Where is the program stored?
Correct!

Secondary storage device such as a hard disk

, Question 5


What are C program file names should end with?
Correct!

.c




Question 6


During stage 2, preprocessing, who gives the command to compile the program?
Correct!

The programmer




Question 7


T/F:
Correct!
In a C system, the preprocessor executes automatically before the compiler's transition phase begins


True




Question 8


What kind of "special commands" does the C preprocessor obey?
Correct!

Preprocessor directives




Question 9


What is a preprocessor directives?
Correct!

Indicates that certain manipulations are to be performed on the program before compilation

, Question 10


What are some examples of manipulations that is done to the program before compilations?
Correct!

1. Including other files in the files to be compiled

2. Performing various text replacements

3. Defining various macros




Question 11


T/F:
Correct!
#include
#define

are examples of preprocessor directives


True




Question 12


During step 3 (after the preprocessing steps) what happens to the C source code?
Correct!

The compiler translates the C modified source code into object code and stores it on the disk




Question 13


What is an object code?
Correct!

Object code is essentially a machine code, a binary file that consists of a series of 1's and 0's?




Question 14


What executes the object code?
Correct!

The CPU

, Question 15


T/F:
Correct!
After the source code is turned into an object code it is complete and executable?


False, the object code is not complete and not yet executable




Question 16


Why can't the object code be executed?
Correct!

C programs typically contain references to functions defined elsewhere , therefore the object code
contains "holes".




Question 17


How can the "holes" be resolved in a C program?
Correct!

Resolved by the linker




Question 18


What happens during the linking phase?
Correct!

A linker links the object code with the code for the missing functions to produce an executable image




Question 19


T/F:
Correct!
During linking, multiple object files might be combined into one executable


True

Document information

Uploaded on
February 20, 2026
Number of pages
86
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.02

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
564
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions