The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What would the Python code: len(level) return?
String Manipulation Quiz
Quiz
•
Computers
•
10th - 11th Grade
•
Hard
Chauncy ICT
Used 96+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What would the Python code: len(level) return?
2
3
4
1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is title[0]?
'c'
'o'
'g'
An error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is title[4]?
'p'
'u'
't'
An error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is level[3]?
'g'
'e'
'c'
's'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is level[4]?
'g'
'e'
'c'
An error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is title concatenated (linked together) with level?
"computer sciencegcse"
"computersciencegcse"
"computer science gcse"
"computerscience gcse"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pseudocode below assigns two strings to two variables:
title = "computer science"
level = "gcse"
What is level concatenated (linked together) with level?
"gcsegcse"
"gcse gcse"
"computer science gcse"
An error
15 questions
U1L2 - Understanding Flowcharts and Pseudocode
Quiz
•
10th Grade - University
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms
Quiz
•
10th - 12th Grade
15 questions
Algorithm, Pseudocode, and Flowchart
Quiz
•
11th - 12th Grade
10 questions
CSP 1.3.4 1.3.5 Branching and Input/Strings
Quiz
•
10th - 12th Grade
9 questions
47. Programming 1 : User Input & Display Output
Quiz
•
9th - 12th Grade
7 questions
Pseudocode Practice Quiz
Quiz
•
9th - 12th Grade
10 questions
10 CS // Pseudocode
Quiz
•
9th - 11th Grade
6 questions
Lesson 3 Recap
Quiz
•
5th - 11th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University