
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
50 questions
PRF192 - FE2

Quiz
•
University
50 questions
Python and C Programming Quiz

Quiz
•
University
50 questions
BCA-CBT Quiz

Quiz
•
University
45 questions
PRF192-fe-fa24

Quiz
•
University
46 questions
Kuis Kelas 10

Quiz
•
12th Grade - University
50 questions
ICT 51-100

Quiz
•
University
49 questions
Quiz on C Operators

Quiz
•
University
53 questions
C Programming Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University