Introductory Quiz

Introductory Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

3.1.1 Jenis data dalam segmen kod

3.1.1 Jenis data dalam segmen kod

7th - 9th Grade

10 Qs

Tugas Informatika Kelas XI

Tugas Informatika Kelas XI

10th Grade

10 Qs

PYTHON PROGRAMMING FUNDAMENTALS

PYTHON PROGRAMMING FUNDAMENTALS

11th Grade

15 Qs

SOAL MENGETIK 10 JARI

SOAL MENGETIK 10 JARI

10th Grade

10 Qs

Pythton

Pythton

5th - 12th Grade

10 Qs

Lesson 1: Introduction to Python

Lesson 1: Introduction to Python

5th - 12th Grade

8 Qs

Python Fundamentals and Programming

Python Fundamentals and Programming

11th - 12th Grade

13 Qs

Data Type Review

Data Type Review

KG - Professional Development

12 Qs

Introductory Quiz

Introductory Quiz

Assessment

Quiz

Other

9th - 12th Grade

Hard

Created by

Grace Mutinda

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is python programming?

A type of snake found in tropical regions

A computer algorithm used for data analysis

A type of computer hardware built for high-performance computing

A programming language known for its simplicity and readability

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Media Image

What data types are there in Python?

Integer, Float, String, List, Tuple, Dictionary

Number, Text, Boolean, Array, Object

Char, Decimal, Array, Dictionary, Set, File

Int, Float, Str, Bool, List, Tuple

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. How do you import the 'math' module in Python?

import math

import module math

use math

from math import *

4.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

  1. What is the output of the following code?

  2. x = 10

if x > 5:

print("x is greater than 5")

elif x < 5:

print("x is less than 5")

else: print("x is equal to 5")

x is greater than 5

x is less than 5

x is equal to 5

Error

5.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

  1. What is the purpose of indentation in Python?

It enhances readability

It is required for loops and conditional statements

It helps in structuring code blocks

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

  1. What is the output of the following code?

  2. print(3 * 'Hello ')

3

Hello Hello Hello

Hello

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

  1. What does the 'len()' function do in Python?

Returns the length of a string

Returns the length of a list

Returns the length of a dictionary

All of the above

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?