Computer Science basics
Computer Science History
concepts and algorithms
Java 2
Java
100

It's a set of steps used to solve a problem.

Algorithm

100

This theory states, "Every computation that can be done in the real world can be effectively performed by a Turing machine."

Church-Turing Thesis

100

This is the 1st phase of the Software development process 

  1. Understand the problem 
100

This primitive type occupies 2 bytes of memory 

Char

100

What is the value of num?

num = 22 % 5;

2

200

A collection of similar items stored together accessed using their position.

Array

200

This person is the father of the computer

Charles Babbage

200

A program construct that allows for a block of code to be repeated multiple times?

Loop

200

Does this code compile in Java?

sum = 0

for(int i = 0; i <= 5; ++i;){

     sum += i;

}

False

200

This type represents a logical value, either true or false

Boolean

300

A binary digit with two possible values, 0 or 1.

Bit

300

This person made the first computer program

Ada Lovelace

300

A sorting algorithm that employs the "divide-and-conquer" strategy.

Merge sort

300

The term for a value that is passed into a method when it is called

Parameter

300

temp = variable1
variable1 = variable2
variable2 = temp 

What is the value of the variable 2?

Variable 1

400

A sequence of binary digits made up of eight bits. It has 256 possible values

Byte

400

This precursor to the internet was established in 1969, connecting 4 computers at different locations, and laid the foundation for the network.

APERNET

400

The computational method which is concerned with the removal of unnecessary detail is called ___

Abstraction

400

True or False: Java supports multiple inheritance

False

400

If( string1 == string2){

}

This is not the correct way to compare strings because:


The == operator compares the memory addresses or references of the objects, not the contents

500

A numerical value that corresponds to a unique element in an array.

Index

500

What was the name of the British computer that cracked the German codes during World War II?

Colossus

500

This programming concept allows a single interface or method name to be used with different underlying implementations

Polymorphism 

500

What do we call it when multiple methods have the same name but different signatures

Method overload

500

int sum = 0;
for( int i = 1; i < 10; --i ){
    sum += i;
    i *=2;
}

How many times does this code run

Infinitetly 

M
e
n
u