CLASS 8 - VIVA 2024-25

CLASS 8 - VIVA 2024-25

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Beginners Week 6

Python Beginners Week 6

3rd - 12th Grade

13 Qs

Python Basics

Python Basics

7th - 9th Grade

10 Qs

[PyGame] Python Game Workshop Quiz

[PyGame] Python Game Workshop Quiz

8th Grade

10 Qs

Kiểm tra thường xuyên lần 2 (11/9-11/7)

Kiểm tra thường xuyên lần 2 (11/9-11/7)

KG - 12th Grade

10 Qs

Python Variables

Python Variables

8th Grade

10 Qs

Python Fundamentals

Python Fundamentals

8th Grade

12 Qs

แบบทดสอบย่อยที่ 1

แบบทดสอบย่อยที่ 1

8th Grade

10 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

CLASS 8 - VIVA 2024-25

CLASS 8 - VIVA 2024-25

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Jyotsna Verma

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q. Extension of Python file is _______________.
.python
.py
.pyn
.pyt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q. Which of the following statements is NOT TRUE about variables in Python?
They are blocks of memory that store values
While creating a variable you are not required to mention the data type
Name given to a variable is known as identifier
Variable names are not case sensitive

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Q. Choose the correct set of data type for the following variables.
a. String b. Int
a. Text b. Int
a. String b. Number
a. Text b. Number

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q. If num%2 ==0: will return TRUE when
num is equal to 2
num is equal to 0
remainder after dividing num by 2 is 0
remainder after dividing num by 0 is 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Q. Choose the correct reason why the following statement is incorrect.
Variable name is incorrect
eval() function is missing in the statement
== sign should be used instead of = sign
Python is case sensitive. It does not understand commands written in uppercase.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Q. What will be the output of the following code?
Display numbers from 1 to 10
Display numbers from 2 to 9
Display numbers from 2 to 10
Display numbers from 1 to 9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q. Which is the correct command to display a '@' 5 times using string operator.
print("@",5)
print("@", 5 times)
print("@"+5)
print("@"*5)

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?