ByteBattle 2.0(3)

ByteBattle 2.0(3)

University

30 Qs

quiz-placeholder

Similar activities

PYTHON PROGRAMMING

PYTHON PROGRAMMING

University

30 Qs

Qualifier Set B

Qualifier Set B

University

25 Qs

 ByteBattle2.0(C)

ByteBattle2.0(C)

University

30 Qs

Arduino based quiz

Arduino based quiz

2nd Grade - University

25 Qs

Round1

Round1

University

25 Qs

Python Phase 1

Python Phase 1

University

30 Qs

Znotes Aptitude Quiz

Znotes Aptitude Quiz

University

26 Qs

ByteBattle 2.0 (2)

ByteBattle 2.0 (2)

University

30 Qs

ByteBattle 2.0(3)

ByteBattle 2.0(3)

Assessment

Quiz

Engineering

University

Medium

Created by

Shiva Gaur

Used 7+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Hey Aashi, Aditi, and Ria! Can you guess which function is the superstar for displaying output in Python?

display

output

print

show

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To take user input in Python, we use the ________ function.

write()
scan()
read()
input()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Hey Avni, can you help Tisha figure out the correct syntax for declaring a variable in Python? Which one do you think it is?

variable_name = value

variable_name -> value

variable_name : value

value = variable_name

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct way to create a list in Python?

list = []

list = ()

list = {}

list = <>

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What symbol is used for comments in Python?

//

#

/*

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Hey there, coding wizards! If Advait and Shreya were to divide 5 by 2 in Python, what would their magical result be?

3

1.5

2.5

2

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

____________ operator is used for exponentiation in Python.

**
%%
//
^

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?