C programming review Flashcard

Flashcard
•
Other
•
9th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is the correct syntax to print in C?
Options: A. print("Hello");, B. echo("Hello");, C. printf("Hello");, D. cout << "Hello"
Back
printf("Hello");
2.
FLASHCARD QUESTION
Front
What is the correct header file to use printf() and scanf()?
Back
3.
FLASHCARD QUESTION
Front
What is the default return type of a function if not specified in C? A. void, B. char, C. int, D. float
Back
int
4.
FLASHCARD QUESTION
Front
Which of the following is a correct variable name in C? A. value_1, B. value#, C. 1value, D. @value
Back
value_1
5.
FLASHCARD QUESTION
Front
Which loop checks the condition after executing the loop body?
Back
do...while
6.
FLASHCARD QUESTION
Front
Which data type is used to store a single character? Options: A. int, B. char, C. float, D. string
Back
char
7.
FLASHCARD QUESTION
Front
What is the value of x after this code?
int x = 5;
x += 2;
Back
7
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Les fournitures scolaires

Flashcard
•
9th - 10th Grade
14 questions
Entraves au dialogue

Flashcard
•
8th Grade
7 questions
Les pronoms personnels sujet

Flashcard
•
KG
11 questions
French Greetings

Flashcard
•
8th Grade
15 questions
French days, months, and dates

Flashcard
•
9th Grade
15 questions
French days, months, and dates

Flashcard
•
9th Grade
15 questions
3pp Maths puissance & notation scientifique

Flashcard
•
9th Grade
10 questions
❄⛄AP CSA - Unit 6 Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade
17 questions
Continents and Oceans

Lesson
•
5th - 9th Grade