Name 3 high level programming languages
possible answers: Python, Java, Javascript, HTML, CSS, C+, C#, etc.
int x = 4;
int y = 8;
System.out.println(x+y);
System.out.println("x+y");
What do these two print?
12
x+y
What's the name of the dragon in Mulan?
Mushu
Name one of Ed Sheeran's albums.
Divide, Multiply, Plus
What is a bit?
A binary digit and the basic unit of information of computers. (1, 0)
How many bits in a byte?
8 bits
Name 5 Avengers.
The Hulk, Thor, Iron-man, Black Widow, Captain America
Which member of One Direction left first?
Zayn
Name the treasurer and her favorite food?
Ninita; pasta
Name 3 different data types in Java.
Possible Answers: Int, String, Boolean, Float, Double, Char
What is an algorithm?
A set of instructions that solve a problem
Who is the main character in the Flash?
Barry Allen AKA The Flash
What album won Grammy's Best Album of 2018?
24K Magic by Bruno Mars
Name the president and her pets
Dia; Wiggles the dog; Jerry the turtle
public class NewClass3 {
public static void main(String[] args) {
Scanner input=new Scanner (System.in);
String Name;
int age;
System.out.println(" please enter your name");
Name=input.next();
System.out.println("please enter your age");
age=input.nextInt();
System.out.print("Your name is " + Name + " and your age is "+age);
}
}
What language is this and what is its function?
Java; asks user for name and age then prints it.
Everyday Stacy runs 10 miles and goes to the gym. She wants to keep an online record of how much she exercizes everyday. How can she use coding?
Possible answer: An app where she logs her data everyday and it stores it in a table.
Name the 6 friends in the T.V. show F.R.I.E.N.D.S.
Ross, Chandler, Joey, Monica, Phoebe, and Rachel
What are Taylor Swift's cats names?
Dr. Meredith Gray and Detective Olivia Benson
Name the secretary and her favorite hobby.
Aditi; tell us
O(n) = n^2 is what type of sort?
Bubble sort!
convert 129 in base 10 to base 2
10000001
Complete the following quote: "Get out of my ______" - Shrek
Sing us a song!
yay thanks
Name the vice-president and her favorite book.