Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 2505 Final Exam UPDATED QUESTIONS AND CORRECT ANSWERS

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
01-05-2026
Written in
2025/2026

CS 2505 Final Exam UPDATED QUESTIONS AND CORRECT ANSWERS Basic linux commands - CORRECT ANSWER Ls - list directory contents Mkdir - make directory Rmdir - remove directory (must be empty) Rm - removes file Mv - move file or rename cd - change directory When listing files in linux, what option will show hidden files in a directory, along with the rest of the files? - CORRECT ANSWER -a What best describes what a path is? - CORRECT ANSWER another in a file system The roadmap from one location to What two words best describe the types of paths? - CORRECT ANSWER What symbol represents the users home directory? - CORRECT ANSWER What is an example of a type that is not built in to C - CORRECT ANSWER opposed to float, int, char, etc.) What are the selection structures that C offers? - CORRECT ANSWER if statements What are the pre-test loops in C? - CORRECT ANSWER Relative and absolute ~ int32_t (as Switch statements and While loop and for loops What function allows for output in C? - CORRECT ANSWER Format flag for integers - CORRECT ANSWER fprintf or printf

Show more Read less
Institution
CS
Course
CS

Content preview

CS 2505 Final Exam UPDATED
QUESTIONS AND CORRECT ANSWERS
Basic linux commands - CORRECT ANSWER cd - change directory

Ls - list directory contents

Mkdir - make directory

Rmdir - remove directory (must be empty)

Rm - removes file

Mv - move file or rename



When listing files in linux, what option will show hidden files in a directory, along with the rest of the
files? - CORRECT ANSWER -a



What best describes what a path is? - CORRECT ANSWER The roadmap from one location to
another in a file system



What two words best describe the types of paths? - CORRECT ANSWER Relative and absolute



What symbol represents the users home directory? - CORRECT ANSWER ~



What is an example of a type that is not built in to C - CORRECT ANSWER int32_t (as
opposed to float, int, char, etc.)



What are the selection structures that C offers? - CORRECT ANSWER Switch statements and
if statements



What are the pre-test loops in C? - CORRECT ANSWER While loop and for loops



What function allows for output in C? - CORRECT ANSWER fprintf or printf



Format flag for integers - CORRECT ANSWER d

, Format flag for strings - CORRECT ANSWER s



Format flag for double - CORRECT ANSWER lf



Format flag for char - CORRECT ANSWER c



What stream is connected to the keyboard - CORRECT ANSWER stdin



What stream(s) is/are connected to the terminal or console - CORRECT ANSWER stderr and
stdout



What is the first step in the compilation process - CORRECT ANSWER Preprocessor



What is the second step in the compilation process - CORRECT ANSWER Compiler



What is the third step in the compilation process - CORRECT ANSWER Assembler



What is the fourth step in the compilation process - CORRECT ANSWER Linker



What is true about the linker? - CORRECT ANSWER - The linker is responsible for resolving
functions used in one file but created in another

- The linker creates an executable from object files (.o)



How do you add the debugging symbols to your executable when compiling - CORRECT
ANSWER -g



True or false: All functions must be declared before they can be called - CORRECT
ANSWER True

Written for

Institution
CS
Course
CS

Document information

Uploaded on
May 1, 2026
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.49
Get access to the full document:

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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STANFORDTOPGRADES Stanford University
Follow You need to be logged in order to follow users or courses
Sold
56
Member since
1 year
Number of followers
2
Documents
7115
Last sold
3 days ago
TOPSELLER

Hi there! I'm dedicated to sharing my high-quality study guides and helpful EXAM Materials to make your learning easier and more efficient. All my materials are well-organized and tailored to help you ace your courses. I offer genuine and dependable exam papers that are directly obtained from well-known, reputable institutions as a highly regarded professional who specializes in sourcing study materials. Kindly don't hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded and fully guaranteed

Read more Read less
3.8

8 reviews

5
3
4
1
3
3
2
1
1
0

Recently viewed by you

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