
InfyTq - String 1
Quiz
•
Geography, Computers
•
University
•
Practice Problem
•
Medium
KarunaiMuthu SriRam
Used 4+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python statement?
"a"+"bc"
a
bc
bca
abc
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python statement?
"abcd"[2:]
a
ab
cd
dc
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The output of executing string.ascii_letters can also be achieved by:
string.ascii_lowercase_string.digits
string.ascii_lowercase+string.ascii_uppercase
string.letters
string.lowercase_string.uppercase
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
olleh
hello
h
o
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What arithmetic operators cannot be used with strings?
+
*
–
All of the mentioned
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
print (r"\nhello")
a new line and hello
\nhello
the letter r and then hello
error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python statement?
print('new' 'line')
Error
Output equivalent to print ‘new\nline’
newline
new line
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
20 questions
CSE493_QUIZ 1
Quiz
•
University
20 questions
Transaction Processing Systems Quiz
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
20 questions
Quiz Kecerdasan Buatan Pra UAS
Quiz
•
University
20 questions
Grade 7 Python Programming Quiz
Quiz
•
7th Grade - University
20 questions
UAS SISTEM KOMPUTER
Quiz
•
University
20 questions
quiz for operating system,Iot,Data science
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Geography
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
