wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer science Study Guide

Total questions: 68

Worksheet time: 45mins

Name
Class
Date
1.

This is the smallest in terms of font size

a)

<h1>

b)

<h2

c)

<h5>

d)

<h6>

2.

This is the Largest in terms of font size

a)

<h1>

b)

<h2

c)

<h5>

d)

<h6>

3.
  • The thinking work computers do to turn input into output.

a)
Processing
b)
Encoding
c)
Decoding
d)
Translating
4.

saving information to use in the future

a)

deleting

b)

output

c)

storing

5.

 Opening Paragraph Tag

a)

<p>

b)

</p>

6.

 Closing Paragraph Tag

a)

<p>

b)

</p>

7.

  • Tells the computer that this is a document written in HTML <! (a)   HTML>

8.
  • A title or summary for a document or section of a document.

a)

Header

b)
Subject or outline
c)
Heading or conclusion
d)
Title or summary
9.
  • the information computers get from users, devices, or other computers

a)
Information
b)
Input
c)
Feedback
d)
Data
10.

the information computers give to users, devices, or other computers

a)
Information
b)

<p>

c)
Data
d)

output

11.

Hypertext Markup Language, a language used to create web pages

a)
JavaScript
b)
Python
c)
CSS
d)
HTML
12.

 A piece of a website, marked by a start tag and often closed with an end tag

a)
Code block
b)
HTML element
c)
Web snippet
d)
HTML tag
13.

The special set of characters that indicates the start and end of an HTML element and that element's type

a)

HTML markers

b)

HTML symbols

c)

HTML signs

d)

HTML tags

14.
  • the text and images on a website

a)

Website Content

b)

Java and CSS

c)
HTML and CSS
d)

Website Structure

15.

how the content of a website is organized

a)

Website Structure

b)

Website content

c)

Debug

d)

Java

16.

Debug

a)
Debugging is the process of adding more errors to a program or system.
b)
Debugging is the process of identifying and fixing errors in a program or system.
c)
Debugging is the process of ignoring errors in a program or system.
d)
Debugging is the process of creating errors intentionally in a program or system.
17.

 Indicates the beginning of your code written in HTML(< (a)   >)

18.

  •  Contains information (sometimes called "metadata") about your web page (< (a)   >)

19.

  •  Contains all the main contents of your web page (< (a)   >)

20.

allows web developers to group a set of related items.

a)
span
b)

list

c)
section
d)
header
21.

Tells HTML to include an image. (< (a)   >)

22.

Specifies the path to the image

a)

src

b)

link

c)

alt

d)

HTML

23.

Specifies an alternate text for the image, if the image for some reason cannot be displayed.

a)
alt
b)

HTML

c)
src
d)
title
24.

What is the proper format for setting a background color (Anthing in parenthesis are just an example of a color)

a)

background-color: color(ex blue);

b)

background-color: colorValue(ex blue);

c)

color: background-color(ex blue);

d)

colorValue: background-color;(ex blue)

25.

What is the proper format for setting a border-style?

a)
  • Border:border-width border-style border-color;

b)
border-style: dotted;
c)
border-style: dashed;
d)
border-style: solid;
26.

What is the proper format for setting a border color? (______ Style:_; _______ color:_;)

(a)  

27.
  • An identifier that allows multiple elements in an HTML document to be styled in the same way

a)

CSS Tag

b)

CSS Div

c)

CSS ID

d)

CSS Class

28.

  • Creates a hyperlink Attribute: href for the web page you want to go to



(a)  

29.

What is a computer bug

a)
A computer bug is a virus that spreads through computer networks.
b)
A computer bug is a coding error or flaw that causes a program to malfunction or produce unexpected results.
c)
A computer bug is a type of insect that damages computer hardware.
d)
A computer bug is a feature intentionally added to a program for testing purposes.
30.

Debugging

a)
Creating new computer programs
b)
Identifying and fixing errors in a computer program.
c)
Testing software functionality
d)
Optimizing code performance
31.

An algorithm that has been coded into something that can be run by a machine.

a)
script
b)
code
c)
software
d)
program
32.

What is the proper format for drawing an ellipse? ( (a)   ( x,y,w,h))

33.

What is the proper format for drawing a rectangle?

a)

Rect (x,y,w,h)

b)

rectangle (x,y,w,h)

c)

Sq (x,y,w,h)

d)

Square

e)

No answer is correct

34.

Additional information provided as input to a block to customize its functionality

a)
Conditions
b)

Parameters

c)
Variables
d)
Loops
35.

A label for a piece of information used in a program

a)
variable
b)
constant
c)
loop
d)
function
36.

A character on the screen with properties that describe its location, movement, and look.

a)
Sprite
b)
Character
c)
Avatar
d)
Model
37.

Dot notation

a)
Dot notation is a method for defining functions in JavaScript.
b)
Dot notation is a way to access array elements in JavaScript.
c)
Dot notation is used to declare variables in JavaScript.
d)
  • the way that sprites' properties are used in Game Lab, by connecting the sprite and property with a dot.

38.

A label for a characteristic of a sprite, such as its location and appearance.

a)
Trait
b)
Attribute
c)
Element
d)
Property
39.
  • In design, paying attention to a user's feelings and needs when designing a product.

a)

Sympathy

b)

Compassion

c)

Kindness

d)

Empathy

40.
  •  Someone who uses an object, including software and hardware.

a)
Operator
b)
Administrator
c)
Viewer
d)
User
41.
  • A first or early model of a product that allows you to test assumptions before developing a final version.

a)
mockup
b)
sample
c)
template
d)
prototype
42.

The visual elements of a program through which a user controls or communicates with the application. Often abbreviated UI.

a)
User Interface (UI)
b)
User Experience (UX)
c)
User Input (UI)
d)
User Interaction (UI)
43.

What is the first star wars episode?

a)

Episode 1: Phantom Menance

b)

Episode 4: A New Hope

c)

Episode 7: The force Awakens

d)

Episode 9: The Rise of Skywaker

44.

Part of a program that adds functionality for the user

a)
Feature
b)
Enhancement
c)
Upgrade
d)
Improvement
45.
  • The number deciding the pitch and note of the sound being played. And Length of how long the buzzer will play the frequency for in milliseconds.

a)
Tone and Length
b)
Frequency and Duration
c)
Sound and Duration
d)
Pitch and Time
46.

toggles the LED on and off at a rapid or slow pace depending on the interval given. The interval is the time (in milliseconds) between blinks, meaning the bigger the number the slower the pace of the blinks.

a)

led.blink(interval);

b)

led.blink(Freqency);

c)

led.blink(time);

47.

How do you turn the LEDs off?

(a)  

48.

How do you turn the LEDs on?

(a)  

49.

Alternates from turning the red LED on and off

(a)  

50.

lets your app change any property listed in Design mode for a given UI element

a)

Set UI

b)

Set Property

c)

Set Value

51.

Sets the text for the specified screen element.

(a)  

52.

works very similar to onEvent() in App Lab, but responds to input from the left button, right button, toggle switch, sound sensor, light sensor, temperature sensor, and accelerometer components on the board. The buttons, switch, and sensors all have different events they can respond to.

a)
onSensorEvent()
b)
onEventBoard()
c)
onComponentEvent()
d)
onBoardEvent()
53.

Unscrabble the name

swtgolegihc:an object representing the switch on the Circuit Playground.

(a)  

54.

defines a block of code to execute between open and closing curly braces {}. If the condition is true then the block of code inside the curly braces is executed from top to bottom, exactly once. If the condition is false then the entire block of code is ignored.

a)
switch statement
b)
loop statement
c)
function statement
d)

what if statement

55.

colorLeds[index].blink(interval)

a)
Blink the LED at the specified index with the given interval
b)
Increase the brightness of the LED at the specified index
c)
Turn off the LED at the specified index
d)
Change the color of the LED at the specified index
56.

colorLeds[index].color(color)

a)
Set the color of the LED at the specified index using the 'color' parameter.
b)
Set the color of the LED at the specified index using the 'brightness' parameter
c)
Adjust the font color of the text
d)
Change the background color of the webpage
57.

colorLeds[index].intensity(brightness)

a)
Set the intensity of the LED at the specified index in the colorLeds array to the specified brightness level.
b)
setIntensity(colorLeds[index], brightness)
c)
colorLeds[index].brightness(intensity)
d)
colorLeds.setBrightness(index, intensity)
58.

colorLeds[index].on()

a)
Change the color of the LED at the specified index.
b)
Toggle the LED at the specified index.
c)
Turn off the LED at the specified index.
d)
Turn on the LED at the specified index.
59.

getProperty(id, property)

a)
The function deletes the 'id' and 'property' from the database
b)
The correct answer is to return the value of the 'property' associated with the given 'id'.
c)
The function updates the 'property' associated with the given 'id'
d)
The function returns the sum of 'id' and 'property'
60.

getText(id)

a)
Delete the text linked to the provided id
b)
Return the id associated with the provided text
c)
Retrieve the text associated with the provided id.
d)
Update the text for the provided id
e)
Get the text from the provided id
61.

 in an object representing the analog light sensor on the circuit playground and is connected internally to analog pin A5. This object can be used to detect changes in light in the room.

a)
AnalogLightSensor sensor = AnalogLightSensor(A0);
b)
AnalogLightSensor sensor = AnalogLightSensor(A3);
c)
AnalogLightSensor sensor = AnalogLightSensor(A1);
d)
AnalogLightSensor sensor = AnalogLightSensor(A2);
e)
AnalogLightSensor sensor = AnalogLightSensor(A5);
62.

soundSensor.value

a)
Access the soundSensor method for retrieving values.
b)
Check if soundSensor has a value stored.
c)
Retrieve the value stored in the soundSensor object.
d)
Set the value of soundSensor to retrieve.
63.

is an object that represents the analog temperature sensor at pin A0

a)

Tempsensor

b)

lightSensor

c)

soundSensor

64.

Degrees the temp sensor uses

a)

Celcius

b)

Fahrenheit

c)

Kelvin

d)

all of the above

65.
  • an object representing the accelerometer sensor attached to the Circuit Playground.

a)
gyroscope
b)
magnetometer
c)
accelerometer
d)
thermometer
66.

plays different tones on the buzzer. However, instead of giving the buzzer a frequency to play, you give it a note and octave ranging from 1-4 (C3, D4, E4, etc). Anything above octave 5 is too high and will not play on the buzzer.

(a)  

67.
  • a method of the buzzer that plays an array of notes one after the other at a given tempo.

a)
Use a loop to play each note in the array one after the other at the specified tempo.
b)
Use a loop to play all notes simultaneously at the specified tempo.
c)
Manually input each note in the array at the specified tempo.
d)
Skip playing the notes in the array and directly output the tempo.
68.

buzzer.playNotes() and buzzer.playSong()

a)
buzzer.pauseNotes() and buzzer.pauseSong()
b)
buzzer.recordNotes() and buzzer.recordSong()
c)
The methods buzzer.playNotes() and buzzer.playSong() are likely related to playing music or sound on a buzzer.
d)
buzzer.stopNotes() and buzzer.stopSong()