
AWS Python Booster Day 3

Quiz
•
Professional Development
•
Professional Development
•
Medium

CloudThat Technologies
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The first character in a string is at index 1.
True
False
May be
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which print output is the result of the following code?
word = "windows"
print(word[-1])
"w"
"s"
"i"
" " (empty string)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which choice will print the word "tac", given the following variable declaration?
word = "cat"
print(word[::-1])
print(word[::1])
print(word[0:1:2])
print(word[2:1:0])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The .count() string method returns the number of times a for/in loop iterates.
True
False
May be
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which string method returns an index of first character or substring matches?
.find()
.count()
.isalpha()
while
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which choice is a valid Python code to store the length of the given string variable 'word' in 'x'?
word = "Python"
x = len(word)
x = word.len()
x.length(word)
for x in length of word
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a valid way to initialize a Python list?
scores = [11, 8, 0, 24, 31, 12, 19]
listdef scores(11, 8, 0, 24, 31, 12, 19)
scores.list(11, 8, 0, 24, 31, 12, 19)
scores = {11:8:0:24:31:12:19}
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Introducción al lenguaje Python

Quiz
•
Professional Development
10 questions
Day 4

Quiz
•
Professional Development
12 questions
ML-1

Quiz
•
Professional Development
10 questions
Day-4 IOAC - ML Python Assessment_12th-Feb-2023

Quiz
•
Professional Development
10 questions
Day-2 IOAC - ML Python Assessment_5th-Feb-2023

Quiz
•
Professional Development
15 questions
Q1 Introduction to Python

Quiz
•
Professional Development
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
10 questions
Python Functions

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade