Protocols
Conditionals
Iterables
Networks
Random
100

What is a protocol?

International rules that ensure the transfer of data between systems.

100

What is a conditional?

Conditionals are expressions that evaluate to either true or false

100

What is an iterable?

Some type of object which can be looped over returning each of its members one at a time.

100

What is a WAN?

Wide Area Network - connects computer systems within a wide geographic area.

100

What is Pseudocode used for?

Help programmers develop computer programs

200

Name two things that computer protocols guarantee.

1) Data integrity

2) Congestion control

200

Give an example of a conditional:

Various

200

Give an example of an iterable:

Various

200

What is a portion of data sent through a network called?

A data packet.

200

What is an algorithm?

A series of unambiguous instructions that are used to solve a problem.

300

List 3 things that protocols provide:

1) Rules about message format

2) Rules about data compression

3) Rules about error checking

300

What is a shortcut version of the if/else statement called?

The ternary operator

300

Give an example of a situation which would require the use of a while loop.

Various.

300

What kind of a network does P2P use?

Distributed.

300

Explain what abstractions are as they relate to programming, provide an example.

Using packages, libraries, ect. which others have created inside your own program in order to speed up efficiency, reduce errors, ect.

EX: MomentJS package for formatting dates/times

400

What is the TCP/IP protocol stand for and do?

Transmission Control Protocol/ Internet Protocol

It is a communications protocol used for connecting users to the internet.

400

What is the formula of a ternary operator? - read it through

variable = expression1 ? expression2 : expression3;

400

What are the 3 kinds of loops in JAVA?

for loop, while loop, and the do-while loop.

400

List 5 benefits of using a VPN.

1) Easier communication

2) Secure communication

3) Cheaper than WAN

4) Allows secure remote access

5) Allows secure global networking


400

Approximately how many different coding languages are there? (within 50 is acceptable)

700+

500

What two organizations standardize networking protocols?

Institute of Electrical and Electronic Engineers (IEEE) and the Internet Engineering Task Force (IETF).
500

Refactor the following ternary operator into an if/else statement:

String result = (age > 18) ? "Yes you can vote" : "You can't vote yet"; 

String result = if(age > 18){

     return "Yes you can vote"

}else{

return "you can't vote yet"

}


500

When should you use a while loop over a for loop?

When you aren't sure how many times you will need to increment.

500

What are Secure Socket Layer (SSL) and Transport Layer Security (TLS) based on?

Public-key encryption

500

Which sorting algorithms result is the best between these two:

o(n) and o(n^2)

o(n)