# Intro To Computer Science Quiz #1

30 Questions | Total Attempts: 44

Settings

.

• 1.
In early lessons with Karel he could only turn this direction with three instructions.
• A.

Left

• B.

Down

• C.

Right

• D.

Up

• 2.
What two functions did SuperKarel acquire?
• A.

TurnLeft(); & turnAround();

• B.

TurnLeft(); & turnRight();

• C.

Jump(); & turnAround();

• D.

TurnRight(); & turnAround();

• 3.
If some condition is true run that code else we want to run some other kind of code
• A.

For loop

• B.

If

• C.

If/else

• D.

While

• 4.
Define a command in computer science
• A.

An instruction given in a program

• B.

An error in your code

• C.

What must happen before a function is called

• D.

A way to define a new command in a program

• 5.
Precondition
• A.

What should be true after the function is called

• B.

What must be true before the function is called

• C.

The function that is called when you click RUN

• D.

The commands contained within the brackets of a function

• 6.
Decomposition
• A.

A dog who listens to your commands

• B.

A method for keeping a program as a large problem to solve

• C.

Breaking your program into smaller parts

• D.

A note about your code describing what it is doing so others can understand it

• 7.
Stores a numeric or text value as another name
• A.

Variable

• B.

String

• C.

Karel

• D.

Integer

• 8.
Keep running some code AS LONG AS some condition is true
• A.

While loop

• B.

If condition

• C.

For loop

• D.

If/else condition

• 9.
What all programs should begin with...
• A.

Start () { }

• B.

Function start(){ }

• C.

Run

• D.

Start

• 10.
Symbols such as <, >, <=, >=, ==, or !=
• A.

Characters

• B.

Mathematical functions

• C.

Comparison operators

• D.

None of the above

• 11.
Contains page title, tab image, link to css.
• A.

Title

• B.

Meta

• C.

Body

• D.

• 12.
What would happen in the following code:  <a href="https://golfteamproducts.com"><img src="golf.jpg"></a>
• A.

This would give you an error

• B.

The website and image code needs to be switched

• C.

An image called golf would be hyperlinked to a web site called golfteamproducts

• D.

None of the above

• 13.
What is the selector is the following css syntax code     h1{ color:red; font-family:impact; text-align:left}
• A.

Color & font-family & text-align

• B.

H1

• C.

All of it

• D.

Red & impact & left

• 14.
All are types of selectors in CSS except.....
• A.

Attributes

• B.

Elements

• C.

Classes

• D.

Id's

• 15.
The management and processing of information using computers and computer networks
• A.

Cloud computing

• B.

Instant messaging

• C.

Information Technology

• D.

Decryption

• 16.
Unsolicited and unwanted e-mail messages the equivalent of junk mail
• A.

Spam

• B.

Spyware

• C.

Spam filter

• D.

Spim

• 17.
A program disguised as a harmless application that actually produces harmful results
• A.

Web page

• B.

Web cast

• C.

Webcase

• D.

Trojan

• 18.
DNS stands for which of the following...
• A.

Domain Numbering System

• B.

Domain Name System

• C.

Doubtless Name System

• D.

Double Notation System

• 19.
Information is broken down into this before being sent....
• A.

Packets

• B.

Notes

• C.

Bits

• D.

Parts

• 20.
What does hexidecimal numbers encode?
• A.

Color

• B.

Images

• C.

Text

• D.

All of the above

• 21.
What controls events in a piece of code?
• A.

Cd's

• B.

Event handlers

• C.

Loops

• D.

Functions

• 22.
What programming language is used in Intro to Coding Sports?
• A.

Javascript

• B.

Html

• C.

Css

• D.

C++

• 23.
A set of instructions that can be performed with or without a computer.
• A.

Algorithm

• B.

Psuedocode

• C.

Sequence

• D.

Iteration

• 24.
Mental processes and strategies used to solving problems by computer scientists.
• A.

Data management

• B.

Decomposition

• C.

Algorithms

• D.

Computational thinking

• 25.
A field in which people use the power of computers to solve big problems.
• A.

Criminalistics

• B.

IT

• C.

Computer science

• D.

Anatomy

Related Topics