100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CSC 230 - Exam 1 Study Review Test.

Rating
-
Sold
-
Pages
27
Grade
A+
Uploaded on
04-07-2024
Written in
2023/2024

CSC 230 - Exam 1 Study Review Test. What do imperative languages do? - CORRECT ANSWER They focus on how a computation should be performed What is a procedural language? - CORRECT ANSWER One that focuses on the actions performed by a collection of procedures (functions) What is an object-oriented language? - CORRECT ANSWER One that is comprised of a collection of objects, which have both state and operations. Object-oriented languages focus on the state of the objects. What is the general flowchart of the history of C? - CORRECT ANSWER Algol 66 - BCPL - B - C -(((C++ - Java) - C#), Perl)) Why was C used instead of assembly? - CORRECT ANSWER It is more portable and maintainable than assembly Who wrote the book "The C Programming Language"? - CORRECT ANSWER Kernighan and Ritchie What are some benefits to C? - CORRECT ANSWER - Able to do somethings we couldn't do in a higher level language - Fast How much faster is C at nothing? - CORRECT ANSWER 70 times Why is C faster than Java? - CORRECT ANSWER C is compiled down to the hardware's native machine language What are software tools? - CORRECT ANSWER Applications that help write, build, analyze and maintain software What are some examples of software tools? - CORRECT ANSWER Editors, compilers, debuggers, code generators, performance analyzers What does the -Wall flag do? - CORRECT ANSWER Pushes all warnings from the compiler to the user What does the -std=c99 flag do? - CORRECT ANSWER Tells the compiler to use the C99 standard What does the -o flag do? - CORRECT ANSWER It tells the compiler to not use the default output file name What primitive types does C not have in comparison to Java? - CORRECT ANSWER Byte and boolean Rather than a class, what are C functions a part of? - CORRECT ANSWER The file scope What command can be used to report the exit status? - CORRECT ANSWER echo $? Does C force you to initialize your local variables? - CORRECT ANSWER No. How is I/O provided in C? - CORRECT ANSWER By functions in the standard library As part of the C standard, is the standard library expected on all platforms? - CORRECT ANSWER Yes What are preprocessor directives and what do they look like? - CORRECT ANSWER They are parts of a file that tell the preprocessor to get other files and compile them along with the source code. They look like the following: #include stdio.h #include stdlib.h What is a stream? - CORRECT ANSWER A file or device from which we can read or to which we can write.

Show more Read less










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

Document information

Uploaded on
July 4, 2024
Number of pages
27
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

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.
ROSEGRADES Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
221
Member since
2 year
Number of followers
87
Documents
12134
Last sold
4 days ago
TOPGRADE

I HELP STUDENTS WITH REVISION MATERIALS WITH BETTER GRADES GUARANTEED. BEST OF LUCK.

3.5

33 reviews

5
12
4
4
3
11
2
2
1
4

Trending documents

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions