
code
Quiz
•
Fun
•
University
•
Hard
Sam Oswal
Used 4+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be output of the following code
a="Hello"
print(a[::-1])
output = ?
0
olleh
Hello
olleH
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be output of the following code
int i=2;
int a[]={0,1,2,3,4};
printf("%d",i[a]);
2
0
1
Compilation error
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be output of the following code
for(int i=0;i<5;i++,i--){
printf("%d",i);
}
Compilation error
Runtime error
Infinite loop
None of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
x = 5
y = "Hello"
print(x + y)
What will be the output?
Error
Hello5
5Hello
He5llo
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python is interpreted language?
yes
no
not sure
It is assembled language
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
is %p a valid format specifier in c?
no way !
yes
It is just %d
not sure
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
does C and python both support switch statement?
only python does
only C does
no
yes
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
25 questions
Winter Holidays Quiz
Quiz
•
University
27 questions
Eddsworld
Quiz
•
KG - Professional Dev...
25 questions
quiz Zelda breath of the wild
Quiz
•
12th Grade - University
25 questions
Name The Brand!
Quiz
•
3rd Grade - University
25 questions
IZONE Quiz
Quiz
•
KG - Professional Dev...
30 questions
Hololive
Quiz
•
7th Grade - Professio...
33 questions
JOB hunting skills
Quiz
•
University
25 questions
Anime Christmas Quiz
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
