UIL Level 1
UIL Level 2
UIL Level 3
Random Questions
Officers
100

What is the output of Math.min(3, 4.0)

3.0

100

Which of the following is the smallest?

A. 203(base 7)

B. 250(base 6)

C. 410(base 5)

D. 10211(base 3)

E. 1220(base 4)


A
100

What is:

Math.ceil(-2.9)

-2.0

100

What is the website for the club?

100

Saketh's favorite sport

What is Tennis

200

What is the output of:

String str="!@#$%^&*";

str.substring(1);

System.out.println(str);

!@#$%^&*

200

What is the ASCII of A?

What is the ASCII Of a?

What is the ASCII of 0?

65

97

48


200

What is stored in num?

int num = 5 & 4 | 3 ^ 2 & 1;


7

200

When decade was Java Invented?

1990s

200

What are Ricky's top 3 animated movies?


Frozen, Frozen 2, The Lion King

300

What is the special character for a tab

\t

300

What is the bit size of a int?

What is the bit size of a double

32-bits

64-bits

300

Simplify the following:

A||!(B&&A||A)

True

300

Where do the hermits live?

What is on quiet streets?

300

What company offered Dylan Smith a Job for his programming skills. (Hint: It ends with "code")

What is Leetcode?

400

What does Integer.toString(10, 2) do?

Converts 10 to base 2

400

int[][] mat = new int[3][3]

for(int r = 0; r < 3; r++)

    for(int c = 0; c < 3; c++)

         mat[r][c] = r * c + c;

System.out.println(mat[1][0] + mat[2][1]);

5

400

What sorting algorithim does Java use during Arrays.sort()?

Mergesort

400

Name all the types of loops in Java

While, For, For-Each, Do-While


400

Which officer has a dog named Einstein as a pet?

Who is Anirudh?

500

What is the contents of arr:

ArrayList<Integer> arr = new ArrayList<>();

arr.add(5);

arr.add(0, 3);

arr.add(2);

arr.remove(0);

arr.add(100);

arr.set(3, 0);

Index Out of Bounds Error

500
what will the following output?

System.out.println(r(2));

public int r(int rr) {

if(rr < -5) return -1;

else return rr * -2 + r(rr-7);

}


5

500

What is the 2's complement of -165

01101011
500

What year did Mr.Patterson first code?

1982

500

What is Pulkith's Instagram Handle?

@Dadespicablepotato, yall should like follow me