
G11_MCQ_FUNCTIONS and STRINGS
Quiz
•
Computers
•
11th Grade
•
Medium
Fathima Shirin
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What letter will be printed on the screen after running this code:
e
x
t
Nothing prints
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the operator can be used in Strings?
+
*
Both of the above
None of the above
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Python accepts single ('), double (") and triple (''' or """) quotes to denote strings. Which of the following is NOT acceptable Python syntax?
print('Hello World')
print("Hello World")
print('Hello World")
print(""'Hello World'"")
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is printed by the following statement?
print("P" not in "APCSP")
True
False
Error
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
data = "No Way!" The expression len(data) evaluates to:
7
9
8
6
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What syntax can you use to insert a line break between strings so that they appear over multiple lines?
\l
/
\\n
\n
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the output be from the following code?
print("Hello world!" * 2)
TypeError
Hello world world!
Hello world!Hello world!
Hello world! * 2
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Software
Quiz
•
10th - 11th Grade
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
20 questions
Dominios
Quiz
•
10th - 12th Grade
20 questions
MS Word Control A-Z Quiz
Quiz
•
5th Grade - University
15 questions
Chỉnh sửa VB và tạo bảng
Quiz
•
6th Grade - University
17 questions
Greenfoot
Quiz
•
10th - 12th Grade
20 questions
Information Technology SES
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
