
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
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade