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
9 questions
Python Variables

Flashcard
•
9th Grade
10 questions
Methods and conditional warm up 1

Flashcard
•
10th Grade
10 questions
Disney

Flashcard
•
KG
10 questions
Java Basics Flashcard

Flashcard
•
9th Grade
11 questions
3.1 Graphing Linear Equations

Flashcard
•
9th Grade
7 questions
[862] Esp_Unity M1L2

Flashcard
•
KG
10 questions
Python Variables

Flashcard
•
9th Grade
10 questions
Great Minds: Vincent van Gogh

Flashcard
•
9th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

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

Interactive video
•
6th - 10th Grade
Discover more resources for Other
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
13 questions
25-26 Behavior Expectations Matrix

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

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade