SASI -1st year -DAY1-AN(19.12.23)
Quiz
•
English
•
Professional Development
•
Practice Problem
•
Hard
CCC info@ccc.training
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> void main() { int ch; printf("enter a value between 1 to 2:"); scanf("%d", &ch); switch (ch) { case 1: printf("1\n"); default: printf("2\n"); } }
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> void main() { int ch; printf("enter a value between 1 to 2:"); scanf("%d", &ch); switch (ch) { case 1: printf("1\n"); break; printf("hi"); default: printf("2\n"); } }
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int a = 1, b = 1; switch (a) { case a*b: printf("yes "); case a-b: printf("no\n"); break; } }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { int x = 97; switch (x) { case 'a': printf("yes "); break; case 97: printf("no\n"); break; } }
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { float f = 1; switch (f) { case 1.0: printf("yes\n"); break; default: printf("default\n"); } }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> #define max(a) a int main() { int x = 1; switch (x) { case max(2): printf("yes\n"); case max(1): printf("no\n"); break; } }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() { switch (printf("Do")) { case 1: printf("First\n"); break; case 2: printf("Second\n"); break; default: printf("Default\n"); break; } }
Create a free account and access millions of resources
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
Sasi-FN-04.05.2024
Quiz
•
Professional Development
12 questions
Informal to Formal vocabulary
Quiz
•
University - Professi...
15 questions
DSBS-AN-29.01.2024
Quiz
•
Professional Development
13 questions
Phrasal verbs for gadgets and technology
Quiz
•
Professional Development
15 questions
Homework Lesson 4 Debate from Zero (1st Course)
Quiz
•
Professional Development
20 questions
Conditional conjuctions
Quiz
•
Professional Development
20 questions
Past Continuous
Quiz
•
1st Grade - Professio...
15 questions
Sasi-AN-02.05.2024
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
