datatypes

datatypes

10th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Pemrograman Web Pra PAS

Pemrograman Web Pra PAS

11th Grade

10 Qs

Cell Phone Vocabulary

Cell Phone Vocabulary

9th - 12th Grade

12 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

Q1 M 2 - TOPIC 2 / Check your understanding

Q1 M 2 - TOPIC 2 / Check your understanding

10th Grade

10 Qs

Задачи

Задачи

11th Grade

10 Qs

trò chơi tin học

trò chơi tin học

10th Grade

10 Qs

LET's Check your knowledge on E-Governance & E-Commerce

LET's Check your knowledge on E-Governance & E-Commerce

10th Grade

11 Qs

Post Test Bimtek Networking Diskominfotik untuk SMK

Post Test Bimtek Networking Diskominfotik untuk SMK

12th Grade

15 Qs

datatypes

datatypes

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Hard

Created by

Nagaraju Oruganti

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Select all data types in Python programming language

integer

float

long

boolen

string

Answer explanation

Datatype are similar to parts of speech in a language. As we cannot create a sentence without them, we cannot create a program without datatypes.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select a class to find datatype of a value

find

type

dtype

what

Answer explanation

a = 1 # interger

type(a) --> integer

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all example of integer datatype

1

1.3

0

-1

True

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all examples of boolean datatype

True

False

Yes

No

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define a list?

List is a variable that stores a collection of values.

Example: [0, 1.2, 5, True, 'apple']

List is a variable that have only value.

Example: 5

Answer explanation

List is a variable where we store multiple values. The values can be of any datatype including a list (nested lists).

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all valid examples of list

[1, 2, 3, True]

[1, 2, 3]

[True, True, False, False]

['it', 'is', 'sunny', 'outside']

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select a class to load a library in python

load

import

get

fetch

Answer explanation

We use class `import` to load a library in the program.

In the numpy example, we loaded libraries `numpy` and `matplotlib.pyplot` as

import numpy

import matplotlib.pyplot as plt

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?