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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
Verb Patterns - Change in meaning (B2)
Quiz
•
Professional Development
20 questions
coding skills(ISCP 02) Tuesday slot3 (2.00pm - 4:00pm) CSE X & Z
Quiz
•
Professional Development
14 questions
Technologies
Quiz
•
1st Grade - Professio...
12 questions
Health and illnesses
Quiz
•
Professional Development
20 questions
Midterm Review - Basic Introduction
Quiz
•
Professional Development
10 questions
MUST, CAN, HaVE TO etc
Quiz
•
Professional Development
15 questions
chapter 4 the hound of baskervilles
Quiz
•
KG - Professional Dev...
15 questions
VCE-ALPHA-22.11.2023-AN
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
