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
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
21 questions
G9 Robotics
Quiz
•
9th Grade
23 questions
OCR L3 ICT - U1 Ethical & Operational Issues - Threats
Quiz
•
10th - 12th Grade
23 questions
Bài 22. Thực hành cập nhật bảng dữ liệu có tham chiếu
Quiz
•
11th Grade
22 questions
1.3.4 Web Technologies
Quiz
•
12th Grade
24 questions
Computer Software
Quiz
•
11th Grade
24 questions
Html
Quiz
•
9th Grade
22 questions
AS Data Types and Programming Constructs
Quiz
•
10th - 12th Grade
21 questions
1.7 Systems Software
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
