MCQ for Coding Carnival

MCQ for Coding Carnival

University

50 Qs

quiz-placeholder

Similar activities

TECHNICAL QUIZ

TECHNICAL QUIZ

University

45 Qs

P1 COMPROG 1-6

P1 COMPROG 1-6

University

50 Qs

Joy of Programming

Joy of Programming

University

50 Qs

ข้อสอบปลายภาค

ข้อสอบปลายภาค

University

50 Qs

c

c

University

52 Qs

FPL-I-BACKLOG

FPL-I-BACKLOG

University

50 Qs

2nd C Programming Quiz

2nd C Programming Quiz

University

50 Qs

C programming quiz

C programming quiz

University

55 Qs

MCQ for Coding Carnival

MCQ for Coding Carnival

Assessment

Quiz

Computers

University

Hard

Created by

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

Media Image

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

Media Image

The equivalent of the above for loop using the while syntax would be

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?