wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Bridge Course_Grade8

Total questions: 69

Worksheet time: 36mins

Name
Class
Date
1.

Aarav is learning Python programming and he writes a simple code to print a message. What will the output be from the following code?
print("Hello world!")

a)

SyntaxError

b)

Hello world!

c)

"Hello world!"

d)

print(Hello world!)

2.

Aarav is trying to calculate the total number of apples he has. He knows he has 3 apples and his friend gave him 4 more. What will the output be from the following code?
print(3+4)

a)

3+4

b)

7

c)

SyntaxError

d)

print(3+4)

3.

Tara has a string "12" and she wants to repeat it 3 times. She writes the code: print("12"*3)
What would this print?

a)

36

b)

121212

c)

24

d)

12*3

4.

Avyaan is trying to print a math expression in his Python program. He writes the following code:
print("3+4")

a)

7

b)

3+4

c)

34

d)

SyntaxError

5.

Eshaan is trying to print a message in his programming class. He writes the following code:
Print("Hello world!")

a)

NameError

b)

Hello world!

c)

"Hello world"

d)

Print(Hello world!)

6.

Neha is learning to code and writes the following line in her program:
print("Hello" + "world" + "today") What will be the output of this line?

a)

Helloworldtoday

b)

Hello world today

c)

"Hello" "world" "today"

d)

SyntaxError

7.

Alisha is trying to print a message in her Python program. She writes the following code:
print(Hello world!)

a)

Hello world!

b)

SyntaxError

c)

Hello world

d)

print(Hello world!)

8.

Kavya has 9 apples and she wants to share them equally among 3 friends. What will be the output when she calculates the number of apples each friend will get?
print(9/3)

a)

3

b)

3.0

c)

9/3

d)

SyntaxError

9.

During a programming class, Tara is trying to create a program that asks for the user's name. Which function should she use to take the user's input?

a)

print()

b)

int()

c)

input()

d)

def

10.

Ananya is working on a project where she needs to store various types of information, including numbers, letters, and symbols. What data type should she use?

a)

String

b)

Integer

c)

Float

d)

Boolean

11.

Ria is planning a special event on "13th December". Which is the most appropriate data type for representing the date of the event?

a)

Float

b)

Boolean

c)

Integer

d)

String

12.

Aashi has a box where she keeps her toys. This box can hold different toys, and she can change the toys inside whenever she wants. What is this box an example of?

a)

Constant

b)

Value

c)

Variable

d)

Iteration

13.

What is the first thing we have to write in the code

(a)  

14.

Eshaan wants to organize his data for a school project and needs to create a table to display his findings.

a)

<td>

b)

</tc>

c)

<table>

d)

<tr>

15.

During a computer class, Prisha asked her teacher, "What does HTML stand for?"

a)

Hiper text markup language

b)

Hiperlink and text markup language

c)

home tool markup language

16.

Myra is designing a webpage for her school project. She wants to make the title of her page stand out as the largest heading. Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h6>

c)

<h1>

d)

<heading>

17.

Tisha is creating a webpage for her school project and needs to insert a line break between two paragraphs. What is the correct HTML element for inserting a line break?

a)

<br>

b)

<break>

c)

<lb>

18.

Akhil wants to create a hyperlink to Google for his school project. What is the correct HTML for creating a hyperlink?

a)

<a href="https://www.google.com/">Google</a>

b)

<a> href="https://www.google.com/"Google</a>

c)

<a href="https://www.google.com/"></a>

19.

Eesha is learning HTML and wants to know which character is used to indicate an end tag in her code. Can you help her?

a)

/

b)

^

c)

*

d)

<

20.

During a computer class, Ria was learning about HTML and asked her friends which of these elements are all <table> elements?

a)

<table><tr><td>

b)

<table><head><tfoot>

c)

<table><tr><tt>

d)

<thead><body><tr>

21.

Ishika is creating a webpage for her art portfolio and wants to insert an image of her latest painting. What is the correct HTML for inserting an image?

a)

<img href="image.gif" alt="MyImage">

b)

<image src="image.gif" alt="MyImage">

c)

<img alt="MyImage">image.gif</img>

d)

<img src="image.gif" alt="MyImage">

22.

During a class project, Siya is tasked with creating a webpage for their school event. She needs to define the title of the document. Which HTML element should she use?

a)

<meta>

b)

<title>

c)

<head>

23.

Avyaan is learning about web development in his computer class. His teacher asked the class, "What does HTML stand for?"

a)

Hypertext Making Language

b)

Hyper Transfer Markup Language

c)

Hypertext Markup Language

d)

Hyper Transfer Making Language

24.

In a web development class, Aarush is learning about the HTML language. He wonders what fundamental elements HTML uses to structure web pages. What does he discover?

a)

Tabs

b)

Tags

c)

Punctuation

d)

Quotations

25.

<p> is a tag that Aanya learned about in her web development class. She was curious about its function in HTML. What type of tag is <p>?

a)

punctuation tag

b)

closing paragraph tag

c)

closing punctuation tag

d)

paragraph tag

26.

Krish was learning about HTML tags in his web development class. He came across the tag </p> and wondered what it represented. What is </p>?

a)

punctuation tag

b)

closing paragraph tag

c)

closing punctuation tag

d)

paragraph tag

27.

Akhil is learning about web development in his computer class. His teacher asked him what HTML stands for...

a)

Hyper Time Multiple Language

b)

Hyper Text Mark-up Language

c)

Hippo T-Rex Mascot Lemur

d)

Hipper Text Make Language

28.

Myra is creating a webpage for her school project and needs to use an h1 tag for the main title. Which is the proper way to write an h1 tag?

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

29.

Aashi is learning HTML and comes across the <p> tag. She wonders what it is used for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

30.

Alisha is learning about HTML tags in her web development class. What does an opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

31.

Aarav is learning HTML and comes across different types of tags. He wonders, what does a closing tag look like?

a)

< >

b)

<\ >

c)

</ >

d)

<< >>

32.

Viaan is learning how to create a web page. What should his HTML web page start with?

a)

<b>

b)

<li>

c)

<html>

d)

<start>

33.

Ishika is learning HTML and wants to know what her web page should end with. Can you help her?

a)

</html>

b)

<head>

c)

</end>

d)

</body>

34.

During a web design class, Aisha learned about HTML tags. She came across the tag <b> and wondered what it stands for. Can you help her understand?

a)

bright

b)

big

c)

beautiful

d)

bold

35.

In a web development class, Myra is trying to create a new webpage and needs to define the title of her document. Which HTML element should she use?

a)

<title>

b)

<head>

c)

<meta>

36.

During a web design class, Dia is learning about HTML headings. Her instructor asks the class, "Which of the following is the largest heading?"

a)

H2

b)

H3

c)

H4

d)

H6

37.

During a web development class, Aarav learned that HTML uses certain structures to create web pages. What does HTML primarily use?

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

38.

Aditi, Dia, and Advait are discussing their favorite tools for browsing the internet. They mention Google Chrome, Mozilla Firefox, and Microsoft Edge. What are these tools examples of?

a)

Search engines

b)

Websites

c)

Web Browsers

d)

Text editors

39.

During a web development class, Prisha is trying to format her HTML document. She wants to insert a line break between two paragraphs to improve readability. Which is the correct HTML element for inserting a line break?

a)

<b>

b)

<lb>

c)

<br>

d)

<break>

40.

What will happen to the text in blue?   <p>Divya named her car <i>The lightning</i>, because it was very fast.</p>

a)

the content will be displayed in italic

b)

the content will display an image

c)

the content defines text inserted into a document

41.

Prisha is learning about web development in her class. She comes across the term CSS and wonders what it stands for. Can you help her?

a)

Closed Source Style

b)

Crucial Style Sheets

c)

Cascading Style Sheets

d)

Corresponding Static Style

42.

Nikita is learning about web development in her computer class. Her teacher asked the class what HTML stands for. What is the correct answer?

a)

HammersTend To Mostly Lose

b)

HypoText Madeup Language

c)

HyperText Markup Langauge

43.

In a computer science class, Arjun and Dia are learning about binary numbers. Their teacher asks them, "What are the only two numbers you can use in binary?"

a)

0 and 1

b)

1 and 2

c)

1, 2, 3, 4, 5, 6, 7, 8, 9, 10

d)

1, 2, 4, 8, 16

44.

During a class on technology, Dia asked, "What does NLP stand for?"

(a)  

45.

Sneha is curious about how her new voice-activated smart speaker works. Can you explain it to her?

a)

Manual audio player

b)

Traditional radio

c)

Bluetooth headphones

d)

Voice-activated smart speaker

46.

Google translate is a nlp

a)

True

b)

False

47.

NLP is a domain of

a)
machine learning
b)
data science
c)
computer programming
d)
artificial intelligence
48.

chatbot comes under

a)
web development and design
b)
robotics and automation
c)
artificial intelligence and natural language processing
d)
machine learning and data mining
49.

machine learning is the main part of NLP

a)
False
b)
True
50.

Is Word spelling and error checking nlp?

a)
No, Word spelling and error checking is not related to NLP.
b)
Yes, Word spelling and error checking is a form of NLP.
51.

nlp is not AI

a)
NLP is unrelated to AI.
b)
NLP is a type of AI.
c)
NLP is the same as AI.
d)
NLP is a subfield of AI.
52.

AI stands for

a)
Artificial Intelligence
b)
Automated Interaction
c)
Advanced Integration
d)
Artificial Emotion
53.

it is also one type of AI

a)
Chatbot
b)
Virtual Assistant
54.

Who is known as Father of AI?

a)

John McCarthy

b)

Blaise Pascal

c)

Sir John

55.

Artificial Intelligence is

a)

The science and engineering of making intelligent machines

b)

Intelligent computer programs

c)

Way of making a computer

d)

Computer-controlled robot

e)

Software think intelligently, in the similar manner the intelligent humans think

56.

AI is accomplished by studying how human brain thinks, and how humans ________, __________ and _________while trying to solve a problem.

(a)  

57.

Artificial intelligence is the simulation of (a)   intelligence processes by machines, especially computer systems.

58.

What are the two basic Goals of AI?

________________________________________________

________________________________________________

(a)  

59.

AI is used in Gaming, where machine can think of large number of possible positions based on heuristic knowledge.

a)

KHO-KHO

b)

Chess

c)

Poker

d)

TIC-Tac_toe

60.

(a)   It is possible to interact with the computer that understands natural language spoken by humans.

61.

They provide explanation and advice to the users.

a)

Gaming

b)

Expert Systems

c)

NLP

62.

Doctors use clinical expert system to diagnose the patient.

a)

Expert Systems

b)

Vision Systems

c)

NLP

63.

Philosophy of AI is

a)

“Can a machine think and behave like humans do?”

b)

“Can a machine Work better than humans ?”

64.

Ravi is learning about CSS and wants to know what property is used to change the text color of an element. Can you help him?

a)

font-color

b)

color

c)

text-color

d)

background-color

65.

Meera is creating a webpage and wants to add a comment in her HTML code. What is the correct syntax for adding a comment?

a)

<* This is a comment *>

b)

<# This is a comment #>

c)

<comment>This is a comment</comment>

d)

<!-- This is a comment -->

66.

During a web development workshop, Karan learns about the <div> tag. What is the primary purpose of the <div> tag in HTML?

a)

To create a list

b)

To insert an image

c)

To define a section in a document

d)

To create a hyperlink

67.

Riya is learning about the <img> tag in HTML. She wants to know what attribute is essential for specifying the source of the image. Which attribute should she use?

a)

href

b)

alt

c)

src

d)

link

68.

During a coding session, Sam is trying to create a list in HTML. Which tag should he use to start an unordered list?

a)

<list>

b)

<ol>

c)

<li>

d)

<ul>

69.

In her programming class, Neha is learning about variables in Python. If she writes x = 5, what type of data is x?

a)

Boolean

b)

Integer

c)

Float

d)

String