Beginning C Programming
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How will you print \n on the screen? Options: printf("\n");, echo "\\n";, printf('\n');, printf("\\n");
Back
printf("\\n");
2.
FLASHCARD QUESTION
Front
We want to round off x, a float, to an int value, The correct way to do is: y = (int)(x + 0.5), y = int(x + 0.5), y = (int)x + 0.5, y = (int)((int)x + 0.5)
Back
y = (int)(x + 0.5)
3.
FLASHCARD QUESTION
Front
What punctuation is used to indicate the beginning and end of code blocks?
Back
{ }
4.
FLASHCARD QUESTION
Front
Which of the following is not a correct variable type? float, real, int, double
Back
real
5.
FLASHCARD QUESTION
Front
Which of the following is the correct operator to compare two variables? Options: :=, =, equal, ==
Back
==
6.
FLASHCARD QUESTION
Front
Which symbol terminates a C statement?
Back
;
7.
FLASHCARD QUESTION
Front
How to comment in C language?
Back
//Comment
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Produits anti-solaires
Flashcard
•
University - Professi...
13 questions
Acústica
Flashcard
•
University
20 questions
LA INVESTIGACION CIENTIFICA
Flashcard
•
University
15 questions
Adsız Test
Flashcard
•
University
15 questions
¡Flashcardz en español!
Flashcard
•
University
19 questions
Engineering Innovations Flashcard
Flashcard
•
University - Professi...
21 questions
1B. Giuseppe il re dei sogni
Flashcard
•
KG - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade