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

CMSC 216 EXAM 1 QUESTIONS WITH COMPLETE SOLUTIONS

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
14-11-2023
Written in
2023/2024

CMSC 216 EXAM 1 QUESTIONS WITH COMPLETE SOLUTIONS

Course
CMSC

Content preview

CMSC 216 EXAM 1 QUESTIONS WITH
COMPLETE SOLUTIONS
format specifier for char correct answer: %c
format specifier for int correct answer: %d
format specifier for real correct answer: %f
What is object code? correct answer: its machine code, but it is not executable!
When is feof(stdin) true! correct answer: when you've read to the end of the file
What happens if you dont enter enough values as specified by the format control string for scanf? correct answer: scanf will wait unitl as many values as format specifiers have been entered
What happens if you enter too many values as specified by the format control string for scanf? correct answer: the excess will remain unread, the next scanf will read them
what is scanf's form? correct answer: scanf ( format-control-
string, &variables )
What does scanf do? correct answer: reads in input
what are the two forms of printf? correct answer: printf( "character-string" ); printf ("format-control-string" , list-of-expressions)
What are escape sequences? correct answer: They have special effects when printed
what is '\n' correct answer: escape sequence that prints a new line
what is '\t' correct answer: escape sequence that prints a tab
what are format specifiers? correct answer: They are replaced by values of the designated type
What happens to stuff inside quotation marks in printf? correct answer: theyre printed exactly as is, except for format specifiers
and escape sequences
are parameter names necessary in function prototypes? correct answer: no, but you should use them
Command: touch correct answer: creates a new file
Command: -f correct answer: flag that means force
What is prepoccessing? correct answer: The first step to compilation in C, makes certain modifications to the program based on preproccessor directives, and runs the modified code
when do you use "" with #include? correct answer: with files you wrote

Document information

Uploaded on
November 14, 2023
Number of pages
7
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

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.
Classroom NURSING
View profile
Follow You need to be logged in order to follow users or courses
Sold
4825
Member since
3 year
Number of followers
3228
Documents
54907
Last sold
2 days ago
NURSING

Assignments, Case Studies, Research, Essay writing service, Questions and Answers, Discussions etc. for students who want to see results twice as fast. I have done papers of various topics and complexities. I am punctual and always submit work on-deadline. I write engaging and informative content on all subjects. Send me your research papers, case studies, psychology papers, etc, and I’ll do them to the best of my abilities. Writing is my passion when it comes to academic work. I’ve got a good sense of structure and enjoy finding interesting ways to deliver information in any given paper. I love impressing clients with my work, and I am very punctual about deadlines. Send me your assignment and I’ll take it to the next level. I strive for my content to be of the highest quality. Your wishes come first— send me your requirements and I’ll make a piece of work with fresh ideas, consistent structure, and following the academic formatting rules. For every student you refer to me with an order that is completed and paid transparently, I will do one assignment for you, free of charge!!!!!!!!!!!!

Read more Read less
4.0

1176 reviews

5
622
4
214
3
192
2
39
1
109

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 notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions