computer science quiz for unit 1,2 and 3

computer science quiz for unit 1,2 and 3

this quiz for unit 1,2 and 3 please choose carefully and take your time to answer

published on March 09, 2019
1/20

why do we use the <tr> stands for?

why do we use the <tr> stands for?
table row
table header
table design
2/20

what does javascript operators used for??

what does javascript operators used for??
to process data such as adding or subtracting
just change the background colour
it does nothing
3/20

what is the best way to display database items.??

what is the best way to display database items.??
image
table
html
4/20

if i want to make my app look better by changing the layout what should i use

if i want to make my app look better by changing the layout what should i use
javascript
css
5/20

choose the closing head tag>

choose the closing head tag>
</head>
<head/>
<script>
6/20

select every right answer about the viewport meta tag

select every right answer about the viewport meta tag
Hint: 3 choices
we use it to make the html pages look better
it is in the head section
it is a standalone tag
it adds an image.
7/20

write a <h1> and a <p> element with some contant.add the class you made to both of these element>

write a <h1> and a <p> element with some contant.add the class you made to both of these element>
<h1 class="my-text-colour">hi everyone</h1>
<p class="my-text-colour">this is my app</p>
<h1 class=my-text-colour>hi everyone</h1>
<p class=my-text-colour>this is my app</p>
<h1 class="my-text-colour">hi everyone
<p class="my-text-colour">this is my app
8/20

what is javascript

what is javascript
a programming language commonly used to make interactive web pages and apps.
it does nothing
it adds a nice layout and presentation.
9/20

create a class that will align an element's text to the right of the screen.

create a class that will align an element's text to the right of the screen.
10/20

select all the right things about variables.

select all the right things about variables.
you can store data
you can read the data
you can change the data stored.
11/20

what is the functions.?

what is the functions.?
classification data based on the values it can take
a system for storing and taking care of data
a named block of code designed to perform a specific task.
12/20

what does css stands for??

what does css stands for??
table header
hyper text markup language
none of them
13/20

what is the correct code for inserting an image?
the name of the image is shop
and it is a jpg image

what is the correct code for inserting an image? the name of the image is shop and it is a jpg image
14/20

which heading is larger in size

which heading is larger in size
<h6>
<h2>
<h1>
15/20

what does <hr> do??

what does <hr> do??
adds a horizontal line
adds text to a page
adds a line break to the page
16/20

there is an error in the following css class. rewrite the code
.example{
border-style;solid;
}

there is an error in the following css class. rewrite the code .example{ border-style;solid; }
17/20

if i want to clear all the data what code should i choose?

if i want to clear all the data what code should i choose?
localstorage.delete();
localstorage.remove();
localstorage.clear();
18/20

what does the database allows you to do??

what does the database allows you to do??
to store data in your app.
to change the background colour
to give it a nice layout
19/20

select every right answer about the padding

select every right answer about the padding
Hint: 2 choices
it adds extra space between the content and the border
the padding value is set using a number with px appended to it
it adds space around elements.
20/20

select the class that sets the font size of an element text to 16px.

select the class that sets the font size of an element text to 16px.
my-font-size{
font-size:16px
}
.my-font-size{
font-size:16px;
}
.my-font-size{
font-size:30px;
}