
CLASS 8 CODING
Authored by Soumik Mukherjee
Computers
8th Grade
Used 49+ 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.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the <img> tag in HTML?
To create a hyperlink
To embed images
To define a list
To format text
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the acronym 'API' stand for in coding?
Advanced Programming Interface
Application Programming Interface
Automated Program Integration
Assembly Programming Interface
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'else' statement in an 'if-else' construct?
To initialize a variable
To create a loop
To execute code when the condition is false
To print output
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the range() function in Python?
To generate a sequence of numbers
To check if a variable is within a range
To calculate the average of a list
To define a range of characters in a string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the // operator do in Python?
Exponential
Floordivision
Modulus
Addition
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which datatype is used for storing a sequence of characters in Python?
int
float
str
list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to get user input in Python?
get()
input()
read()
user()
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?