datatypes

datatypes

10th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Databases and SQL for Grade 10 IT

Databases and SQL for Grade 10 IT

10th - 12th Grade

16 Qs

EVALUASI DDL 1

EVALUASI DDL 1

11th Grade

10 Qs

CodeHS 5.4 & 5.5 ArrayList Stuff

CodeHS 5.4 & 5.5 ArrayList Stuff

9th - 12th Grade

10 Qs

Learning SQL

Learning SQL

11th - 12th Grade

15 Qs

GCSE Computing: Lists and Arrays

GCSE Computing: Lists and Arrays

10th - 11th Grade

15 Qs

Quiz-Pandas-I-13-May

Quiz-Pandas-I-13-May

12th Grade

15 Qs

Sequencing, Selection and Iteration

Sequencing, Selection and Iteration

8th - 10th Grade

12 Qs

Python Fundamentals -2

Python Fundamentals -2

11th - 12th Grade

10 Qs

datatypes

datatypes

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Nagaraju Oruganti

Used 1+ times

FREE Resource

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

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?