What lists files and directories in the current working directory?
100
Technology for Innovators
What is Texas Instruments?
100
def fib(n):
a, b = 0, 1
while a < n:
print(a, end=' ')
a, b = b, a+b
print()
fib(1000);
What is Semicolon after fib(1000)
100
The most commonly used introductory programming language by Universities.
What is Python?
100
Bill Gates
What is Microsoft?
200
How you pronounce '#!'
What is either shebang or sha-bang?
200
Born to Play
What is Nintendo?
200
public class findTheBug
{
public static void main(string [] args)
{
Scanner scan = new Scanner(System.in);
String a = scan.next();
String b = scan.next();
if (a == b)
{
System.out.println(“There are no bugs..?”);
}
}
}
What is Cannot use == when comparing strings in Java
200
What is the oldest high-level programming language in widespread use today?
What is used to specify a set of directories where executable programs are located?
300
Your World Delivered
What is AT&T?
300
void insertionSort(int arr[], int length) {
int i, j;
for (i = 1; i < length; i++) {
j = i;
while (j > 0 && arr[j - 1] > arr[j]) {
tmp = arr[j];
arr[j] = arr[j - 1];
arr[j - 1] = tmp;
j--;
}
}
}
What is tmp was never initialized
300
A recently announced programming language that allows emojis in variable, constant, function, and class names.
What is Swift? (Allows any Unicode character)
300
The logo of a company that symbolizes simplicity and beauty. It was a complex and ugly design of Sir Isaac Newton with a lengthy quote.
What is Apple?
400
The family of shells bash belongs to.
What is the bourne family?
400
Think Different
What is Apple?
400
#define NUM_ITERATIONS 100
#define SIZE_OF_ARRAY 100000000
int main() {
int * A;
A = (int *)malloc(SIZE_OF_ARRAY * sizeof(int));
int i;
for (i = 0; i < SIZE_OF_ARRAY; i++)
{
A[i] = 1;
}
for (i = 0; i <= NUM_ITERATIONS; i++)
{
int sum = 0;
int j;
for (j = 0; j < SIZE_OF_ARRAY; j++)
{
sum += A[j];
}
sum = sum - 100;
sum = sum + 100;
}
return 0;
}
What is Memory leak, never freed A
400
This language was originally called Cool, which stood for "C-like Object Oriented Language."
What is C#?
400
An average of $680 worth of transactions happen every second on this website.
What is Ebay?
500
When adapting UNIX to a new hardware architecture, only the lowest layers need to be reimplemented. This property is called:
What is portability?
500
You’ve got questions, we’ve got answers
What is Radio Shack?
500
.text
.globl main
main:
# Run the print_string syscall which has code 4
li $v0,4 # 4 is the syscall code for print_string
la $a0, $msg
syscall
li $v0,10 # 10 is the syscall code for exit
syscall
.data
msg: .asciiz "Hello World!\n"
What is labels like 'msg' aren't referenced with the $ prefix like registers are
500
One of the first higher-level languages ever developed for an electronic computer which represented mathematic expressions rather than a machine instruction
What is Short Code?
500
First personal computer was created by this company. It was affectionately referred to as Simon and sold for $300 in 1950