
G10 Programing Quiz 1
Authored by Akber Shah
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
OPEN ENDED QUESTION
5 mins • 1 pt
Critique the following code for handling user input and suggest a better approach:
Critique the following code for handling user input and suggest a better approach:
num1 = input("Enter first number: ")
num2 = input("Enter second number: ")
result = num1 + num2
print(result)
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
5 mins • 1 pt
Write a Python program that takes a list of 5 numbers as input and outputs their average.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
5 mins • 1 pt
Design a Python program that asks the user to input a sentence and counts the number of vowels in the sentence.
Design a Python program that asks the user to input a sentence and counts the number of vowels in the sentence.
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
5 mins • 1 pt
Create a Python program using if-else statements to simulate a simple login system. The user should input a username and password, and the program should compare them with predefined values.
Create a Python program using if-else statements to simulate a simple login system. The user should input a username and password, and the program should compare them with predefined values.
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
5 mins • 1 pt
Write a Python program that accepts a string and outputs the reverse of the string using a loop.
Write a Python program that accepts a string and outputs the reverse of the string using a loop.
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
5 mins • 1 pt
Design a Python program that allows the user to input a list of items and then outputs the items in alphabetical order.
Design a Python program that allows the user to input a list of items and then outputs the items in alphabetical order.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
5 mins • 1 pt
Write a program that generate store an array.
Write a program that generate store an array.
Evaluate responses using AI:
OFF
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
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
15 questions
UH
Quiz
•
10th Grade
10 questions
Spoljna memorija - HDD
Quiz
•
9th - 11th Grade
10 questions
Espacio Opcional 3er Año Pío XII
Quiz
•
10th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade