script_programming_part_2+3
Quiz
•
Computers, Science
•
University
•
Practice Problem
•
Medium
Pavel Taskov
Used 24+ times
FREE Resource
Enhance your content in a minute
49 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Q 1 - What is the output of print tuple[2:] if tuple = ′abcd ′ , 786, 2.23, ′ john ′ , 70.2?
′abcd ′ , 786, 2.23, ′ john ′ , 70.2
abcd
786, 2.23
2.23, ′ john ′ , 70.2
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Q 2 - What is the output of print tinytuple * 2 if tinytuple = 123, ′ john ′?
123, ′ john ′ , 123, ′ john ′
123, ′ john ′ * 2
Error
- None of the above.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
3 - What is the output of print tinytuple * 2 if tinytuple = 123, ′ john ′?
3 - What is the output of print tinytuple * 2 if tinytuple = 123, ′ john ′?
123, ′ john ′ * 2
Error
None of the above.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
4 - Which of the following is correct about dictionaries in python?
Python's dictionaries are kind of hash table type.
They work like associative arrays or hashes found in Perl and consist of key-value pairs.
A dictionary key can be almost any Python type, but are usually numbers or strings. Values, on the other hand, can be any arbitrary Python object.
All of the above.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
5 - Which of the following function of dictionary gets all the keys from the dictionary?
getkeys
key
keys
None of the above.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
6 - Which of the following function of dictionary gets all the values from the dictionary?
- getvalues
- value
- values
- None of the above.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
7 - Which of the following function convert a string to an int in python?
intx[, base]
longx[, base]
floatx
strx
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
46 questions
G6 Q3 Science Practice Assessment
Quiz
•
6th Grade - University
44 questions
Round 1 Code2duo
Quiz
•
University
50 questions
Application Software Quiz
Quiz
•
12th Grade - University
50 questions
VOIP XII
Quiz
•
1st Grade - University
50 questions
XIRPL2_PASQUIZZ
Quiz
•
1st Grade - Professio...
50 questions
Grade 10 Computer Systems Quiz
Quiz
•
10th Grade - University
47 questions
Corel Draw
Quiz
•
University
48 questions
Vocabulary
Quiz
•
5th Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
