
MCQ for Coding Carnival

Quiz
•
Computers
•
University
•
Hard
Ranjith Kumar
Used 16+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lathika is curious about who developed the Python Programming Language. Can you help her find the right answer?
Wick van Rossum
Rasmus Lerdorf
Guido van Rossum
Niene Stom
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
>>>str1="helloworld"
>>>str1[::-1]
dlrowolleh
hello
world
helloworld
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output for the program
prints all the even numbers between 1 and 20
prints all the odd numbers between 1 and 21
prints all the odd numbers between 1 and 20
prints all the even numbers between 1 and 21
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The equivalent of the above for loop using the while syntax would be
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will 1 be printed
5
3
4
7
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the order of precedence in Python?
i. Parenthesis
ii. Exponential
iii. Multiplication
iv. Division
v. Addition
vi. Subtraction
1,2,3,4,5,6
1,3,2,4,6,5
6,5,4,3,2,1
5,6,2,1,4,3
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
_______________is the example of comparison operator.
Create a free account and access millions of resources
Similar Resources on Wayground
51 questions
EINSTEIN 2ND PERIODICAL TEST

Quiz
•
9th Grade - University
53 questions
C Programming Quiz

Quiz
•
University
50 questions
PRF192 - FE2

Quiz
•
University
50 questions
C Language

Quiz
•
University
49 questions
Quiz on C Operators

Quiz
•
University
50 questions
Orientation Quiz

Quiz
•
University - Professi...
50 questions
codinggss

Quiz
•
University
50 questions
Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade