
Programming Quiz
Quiz
•
Engineering
•
12th Grade
•
Hard
Saloni Nandurkar
Used 5+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the length of the string "Hello, World!"?
10
12
13
14
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these statements is true about strings?
Strings are mutable (can be modified directly).
Strings are immutable (cannot be modified directly).
Strings are only numeric.
Strings cannot store special characters.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first element in an array?
1
0
-1
Depends on the language
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods checks if a substring exists within a string?
replace()
find()
split()
sort()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If str1 = "hello", what will str1[1:4] return?
"h"
"ell"
"ello"
An error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the result of len(" ") be?
0
1
2
An error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following operation? Input string: "Hello" Operation: Reverse the string.
"olleH"
"Hello"
"olle"
"Holle"
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
Arduino2
Quiz
•
9th - 12th Grade
30 questions
Quiz IoT dan Arduino
Quiz
•
12th Grade
25 questions
Major Engineering Fields Match-Up
Quiz
•
9th - 12th Grade
25 questions
Structural Engineering True or False
Quiz
•
9th - 12th Grade
26 questions
Dams: The Impact and Function
Quiz
•
10th Grade - University
25 questions
UH 2 PERAKITAN PRODUK, PENGUJIAN KADAR AIR DAN EVALUASI PRODUK
Quiz
•
9th - 12th Grade
30 questions
Soal ASTS Membuat Terain
Quiz
•
12th Grade
30 questions
2.1.2 - Teamwork in Engineering
Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition
Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12
Lesson
•
11th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Video Games
Quiz
•
6th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade
20 questions
Parallel lines and transversals
Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts
Interactive video
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal
Quiz
•
9th - 12th Grade
