datatypes

datatypes

10th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

TIN 10 - LẦN 1 - STVB 1

TIN 10 - LẦN 1 - STVB 1

10th Grade

10 Qs

Tree

Tree

12th Grade

10 Qs

KUIS BAHASA SURAT

KUIS BAHASA SURAT

11th Grade

15 Qs

Program Efficiency 2

Program Efficiency 2

12th Grade

15 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Accessing the Internet

Accessing the Internet

9th - 10th 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?