datatypes

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
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
Similar Resources on Wayground
7 questions
Variables and Expressions

Quiz
•
6th - 10th Grade
12 questions
Java G10 IT 1 - intro and conditionals

Quiz
•
10th Grade
10 questions
Python Basics - A level

Quiz
•
10th - 12th Grade
10 questions
Python Level 2- Lesson 2

Quiz
•
10th Grade
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
15 questions
Intermediate Python

Quiz
•
9th - 11th Grade
10 questions
BTEC National ICT U2 - Database Theory Lesson 1-3

Quiz
•
12th Grade
10 questions
Algorithms & Pseudocode

Quiz
•
8th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade