Computer Components
Computer Terminology
HTML
CSS
Programming
Mixed
100

Which of the following is an example of an output device?

Monitor

100

Binary is a number system that uses which two digits?

0 and 1

100

What tag is used to create a hyperlink to other webpages?

a / anchor tag

100

How would you write a comment in CSS?

1) <!--This is a comment that will only show inside the code -->

2) /* This is a comment that will only show inside the code  */

3) // This is a comment that will only show inside the code

/* This is a comment that will only show inside the code  */

100

What best describes Decomposition in problem solving?

Break a problem down into smaller simpler problems.

100

What storage is persistent and faster than HDD?

SSD or Solid State Drive

150

What type of memory is temporary and erased when the computer is turned off?

RAM

150

A byte consists of how many bits?

8

150

What attribute is used to import an image in HTML?

src

150

What part of the following is a CSS property?


p {

    color: red;

}

.container {
    width: 300px;
}

"color" and "width" are CSS properties.

150

What is the proper syntax to call a function named "jump" in JavaScript?

jump();

150

What's the first step in problem solving?

Fully understand the problem ( define ).

200

What is a core in a computer?

A processing unit within the CPU


200

Which of the following is an example of software?

Google Sheets

200

How would you write a comment in HTML?

1) <!--This is a comment that will only show inside the code -->

2) /* This is a comment that will only show inside the code  */

3) // This is a comment that will only show inside the code

<!--This is a comment that will only show inside the code -->

200

What are a CSS selectors?

They are used to specify what HTML elements are targeted for rules and styles.

200

What does it mean to "call" a function?

To execute / activate a function or to run the code inside a that function.

200

What does the "s" stand for in https?

secure

250

Which storage device uses magnetic spinning disks to read/write data?

HDD

250

What is the function of a GPU?

Handles graphics rendering to an output


250

In the example below, which is the parent element?

<div>

    <p>Hello World</p>

</div>

div

250

What is the best description for the purpose of CSS?

It styles and positions elements of a webpage.

or simply STYLE and POSITION

250

What is the key word used to define / create a new function?

function ("function" is the key word placed before the name of the function)

example: 

function myNewFunction(){
     run some code...
}

250

What are NFC tags used for?

Transferring data wirelessly over short distances

300

What connects the CPU, memory, and other hardware components in a computer?

Motherboard

300

What is the primary job of the CPU?

Gives commands to other components of the computer

300

What is the best description for the purpose of HTML?

It lays out the structure and content for a webpage.

or simply STRUCTURE and CONTENT

300

What CSS property and value can be used to change the flow of an html document from vertical to horizontal?

display: flex

or FLEX

300

What is a conditional statement in programming?

they allow a program to run specific code based on whether a condition is true or false. Examples in javascript include the key words "if", "else if", "else".

300

In a data structure, a stack follows which order?

First-In-Last-Out (FILO)


400

What is the function of a GPU?

Handles graphics rendering to an output

400

What four things are common to all computers?

Input, Output, Processing, Storage

400

Does the following have the correct HTML syntax?

<img src="https://google.com" alt="search icon">Google Search</img>

No, the image tag is a self closing tag and shouldn't contain text inside of it.

It should look like:
<img src="https://google.com" alt="search icon"/>

400

I have a section tag with class "main". Write a CSS class that gives the section a black background and white text. Use proper syntax.

.main {

    background: black;

    color: white;

}

400

Write a for loop that calls a function called "draw" 10 times.

for ( let i = 0; i < 10; i++) {

    draw();

}
400

What was ENIAC?

The first general-purpose digital computer


M
e
n
u