C Intro..

Flashcard
•
Others
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What will be the output of the following code? int x = 10; if (x > 5) printf("High"); else printf("Low");
Back
High
2.
FLASHCARD QUESTION
Front
Which of the following is a correct use of the switch statement? Options: switch(x) { case 1: ... }, switch(x > 10) { case true: ... }, switch(x = 5) { case x: ... }, switch { case 1: ... }
Back
switch(x) { case 1: ... }
3.
FLASHCARD QUESTION
Front
What does the continue statement do in a loop?
Back
Skips the current iteration and moves to the next one
4.
FLASHCARD QUESTION
Front
What is the output of the following code? int i = 0; while (i < 3) { printf("%d", i); i++; }
Back
012
5.
FLASHCARD QUESTION
Front
You need to build a billing system that calculates total with tax. Which control structure is most suitable?
Back
if-else
Similar Resources on Wayground
8 questions
Chapter 06 Jogging

Flashcard
•
University
9 questions
Java String and Character Classes Revision

Flashcard
•
11th Grade
10 questions
Landmark Civil Rights Court Cases

Flashcard
•
11th Grade
15 questions
hvac

Flashcard
•
KG
15 questions
Flashcard on Object Oriented Programming and Java

Flashcard
•
University
4 questions
Flashcard - Computação

Flashcard
•
University
4 questions
Christmas characters

Flashcard
•
KG - Professional Dev...
7 questions
Glitch1

Flashcard
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Others
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University