Codify-Code Innovators
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Practice Problem
•
Hard
Dua Zakir
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
OPEN ENDED QUESTION
10 mins • 5 pts
Write a program to calculate the sum of all even numbers from 1 to 20.
Output: 110
Code Acceptance (C++ or Python)
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
10 mins • 5 pts
Create a class Student with attributes for name, age, and marks. Write a method to display the student’s details.
Input: John, 16, 85
Output: Name: John, Age: 16, Marks: 85
Code Acceptance: (C++ or Python)
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
10 mins • 5 pts
Write a Python or C++ program to sort an array of numbers.
Input: [5, 2, 9, 1]
Output: [1, 2, 5, 9]
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
What is the output of the following code?
<!DOCTYPE html>
<html>
<body>
<button id="myButton">Click Me</button>
<script>
document.getElementById("myButton").addEventListener("click", function() {
alert("Button Clicked!");
});
</script>
</body>
</html>
An alert box displays “Button Clicked!” when the button is clicked.
Nothing happens when the button is clicked
An error occurs because the addEventListener is invalid
The alert box keeps appearing without clicking the button.
5.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
You are using the following API to fetch data:
fetch("https://api.example.com/data") .then((response) => response.json()) .then((data) => console.log(data)) .catch((error) => console.error("Error:", error));
What does the .json() method do?
Converts the JSON data to an HTML format.
Parses the response into a JavaScript object.
Sends a POST request to the server.
Encrypts the response for secure handling.
Similar Resources on Wayground
10 questions
Câmpul electric și caracterizarea lui
Quiz
•
9th Grade
10 questions
Les Tableurs ( Microsoft Excel ) 1
Quiz
•
6th - 12th Grade
10 questions
CÂU LỆNH FOR - DO
Quiz
•
12th Grade
10 questions
APCSP U2- The Internet
Quiz
•
9th - 12th Grade
10 questions
Electrical Floor plan
Quiz
•
12th Grade
10 questions
Introduccion a HTML,CSS y PHP
Quiz
•
10th Grade
10 questions
กระบวนการและโครงสร้างการทำงานของเว็บไซต์ (ปวช.1))
Quiz
•
12th Grade - Professi...
10 questions
10NGS-Operators
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Instructional Technology
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
