CLASS 8 CODING

CLASS 8 CODING

8th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Languages

Computer Languages

KG - University

10 Qs

WEB DESIGN

WEB DESIGN

8th Grade

8 Qs

Google Sheets - Beginner

Google Sheets - Beginner

6th - 8th Grade

15 Qs

HTML/CSS Coding Test Pt2

HTML/CSS Coding Test Pt2

7th - 9th Grade

13 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

CSD Unit 2: Web Development Review

CSD Unit 2: Web Development Review

6th - 8th Grade

14 Qs

CSS is the Best

CSS is the Best

6th - 12th Grade

10 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

CLASS 8 CODING

CLASS 8 CODING

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Soumik Mukherjee

Used 47+ times

FREE Resource

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?