A mistake in a program that causes an incorrect behavior.
What is a bug?
x = 5 y = 2 print(x // y)
Output: ____
2
(Floor div)
This is one of the first programming languages most people learn.
What is Python?
CPU
What is the Central Processing Unit?
What does ACM stand for?
What is Association for Computing Machinery?
A reusable block of code that performs a specific task. Can be reused multiple times throughout a program.
What is a function?
word = "computer"
print(word[2:5])
What is printed?
What is "mpu"?
This programming language is commonly used for embedded programming and interacting closely with hardware.
What is C?
RAM
What is Random Access Memory?
TCNJ was founded in this year:
When is 1855?
A step by step procedure or set of instructions for solving a problem.
What is an algorithm (ex. BFS, DFS)?
x = 8 x++ if x > 10: print("A") else: print("B")
What letter is printed?
Letter: "A"
What programming language is this:
System.out.println("Hello, World!")
What is Java?
OOP
What is Object Oriented Programming?
This Computer Science Department event is occurring tomorrow in Forcina 434 from 3:00 - 4:30 PM.
What is the CS Department Social Hour?
A program that must choose between two actions based on a condition uses this control structure.
What is a selection/if statement?
for i in range(2, 10, 2):
print(i)
How many times will the loop execute?
4 times.
{2, 4, 6, 8}
What programming language is this:
SELECT *
FROM Students
WHERE GPA > 3.0
What is SQL (Structured Query Language)
GUI
What is Graphical User Interface?
What was the name of TCNJ before it was called TCNJ (from 1958-1996)
A programming concept that allows a function to call itself.
What is recursion?
nums = [1, 2, 3]
idx = idx % len(nums)
print(nums[idx])
If idx = 3, what number will be printed
1, the 0th index
This language was developed by Microsoft, runs on the .NET platform, and is the programming language used in the Unity game engine.
What is C#?
API
What is Application Programming Interface?
Who is considered the "Father of Computer Science". He has a machine intelligence test named after him.
Who is Alan Turing?