
Team2_quiz
Quiz
ā¢
Computers
ā¢
Professional Development
ā¢
Practice Problem
ā¢
Medium
Sharanya Ravikanti
Used 1+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
What is the output of the following code?
str1="You only fail when you stop trying"
str2="A"
for i in str2:
print(str1,end=",")
You,only,fail,when,you,stop,trying
You only fail when you stop trying,
Y,o,u, ,o,n,l,y, ,f,a,i,l, ,w,h,e,n, ,y,o,u, ,s,t,o,p, ,t,r,y,i,n,g
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
You can traverse in a given string using__?
for loop
while loop
both for and while loop
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
What is the output of the following code?
string="Vasavi"
for i in string[ : :-1]:
print(i,end=' ')
Error
Vasavi
i v a s a V
V a s a v i
4.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
What is the output of the following code?
st="Python is similar to java"
print(st.replace("Python","java"))
Python is similar to Python
java is similar to java
Python is similar to java
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
The count() method:
returns the length of the string.
returns the index of the specified value appeared in the string.
returns the number of times the specified value appeared in the string.
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
You can't slice a ___________.
Tuple
String
Dictionary
list
7.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
The ord() function returns the character represented by ASCII number .
True
False
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
IT support level-1 (MCQ-2)
Quiz
ā¢
Professional Development
25 questions
STIN (EM24) - Sistemas de Información (T1)
Quiz
ā¢
University - Professi...
25 questions
C module 1 second quiz
Quiz
ā¢
Professional Development
25 questions
Type data
Quiz
ā¢
Professional Development
25 questions
Maintaining Computer Systems and Networks
Quiz
ā¢
Professional Development
25 questions
CompTIA Security+ Quiz
Quiz
ā¢
Professional Development
25 questions
IoT Quiz - 1
Quiz
ā¢
University - Professi...
25 questions
Set-Up Computer Server
Quiz
ā¢
Professional Development
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
54 questions
Analyzing Line Graphs & Tables
Quiz
ā¢
4th 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
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
ā¢
Professional Development
100 questions
Screening Test Customer Service
Quiz
ā¢
Professional Development
20 questions
90s Cartoons
Quiz
ā¢
Professional Development
10 questions
Reading a ruler in Inches
Quiz
ā¢
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
ā¢
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
ā¢
Professional Development
