• 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 2 out of 13 pages
Exam (elaborations)

CMSC 104 FINAL EXAM(with complete solutions)

Document preview thumbnail
Preview 2 out of 13 pages

What is an algorithm, as defined in our class? correct answers An algorithm is a finite set of instructions that can be executed and direct a terminating activity. Since when have algorithms been studied? correct answers They've been studied for ages. What are some examples of algorithms as discussed in class? correct answers Some examples are Euclidean's algorithm and sorting algorithms (insertion sort and bubble sort). What is a text editor? correct answers A text editor is program that allows us to edit plain text files. What are the various text editors we have used or discussed in this class? correct answers Some examples are xemacs, emacs, and nano. What are the various LINUX/UNIX commands available to us and what do they do? correct answers mkdir -- makes a directory cd -- takes you to the home directory cd (path) -- takes you to a new path ls -- lists all files and subdirectories of the current directory cat (filename) -- displays all of the file's contents rm (filename) -- removes a file What is C? correct answers C is a programming language What computer language precedes C? correct answers C is preceded by B What are the 3 control structures to C? correct answers SEQUENCE -- using operators (addition, subtraction, etc.) SELECTION -- if/else statements, switch statements, etc. REPETITION -- loops: for, while, do-while What are the stages of compiling a program? correct answers (1) preprocessing (2) compiling (3) linking


Document information

Uploaded on
May 23, 2024
Number of pages
13
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$12.39

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

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.
Sold
23
Followers
6
Items
4026
Last sold
2 months ago




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

Whoops! We can’t load your doc right now. Try again or contact support.