datatypes

datatypes

10th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

L. 12. STRUCTURED QUERY LANGUAGE (SQL)

L. 12. STRUCTURED QUERY LANGUAGE (SQL)

12th Grade

10 Qs

G10 Structured Query Language

G10 Structured Query Language

10th Grade

12 Qs

2.1.3 Search Recap

2.1.3 Search Recap

11th Grade

12 Qs

2.1 Linear and Binary Searching Algorithms

2.1 Linear and Binary Searching Algorithms

8th - 10th Grade

16 Qs

Python Basics

Python Basics

KG - University

15 Qs

AP CSP Exam Review: Big Idea 3

AP CSP Exam Review: Big Idea 3

8th - 10th Grade

15 Qs

Codehs Data Types

Codehs Data Types

12th Grade - University

13 Qs

Python Lists

Python Lists

9th - 12th Grade

15 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?