Python set 1
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
jasheeda n
Used 11+ times
FREE Resource
Enhance your content in a minute
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of the following Python code? >>> str1 = 'hello' >>> str2 = ', >>> str3 = 'world' >>> str1[-1:]
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of the following Python statement >>>"abcd"[2:]
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of the following Python code? '{a}{b}{a}'.format(a='hello', b='world')
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of the following Python code snippet ?X=”san-foundry print(“%56s”,X)
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following operators has its associativity from right to left?
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the result of cmp(3, 1)?
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Select all options that print hello-how-are-you
Access all questions and much more by creating a free account
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
25 questions
ASESMEN HARIAN INFORMATIKA KELAS X SMT-2 BAB 1
Quiz
•
10th Grade
21 questions
Stepford County Railway Quiz
Quiz
•
1st Grade - University
21 questions
Quiz on Software Installation and Upgrades
Quiz
•
12th Grade
23 questions
Revision grade 11 term 3
Quiz
•
11th Grade
22 questions
Functions in RobotC
Quiz
•
7th - 11th Grade
23 questions
Navigating Digital Information: Review of all Ten Videos
Quiz
•
9th Grade - University
23 questions
Chapter 5 & 6 Review
Quiz
•
9th - 12th Grade
25 questions
Quiz #4 Etech
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
