GWC
Programming Lang
UCSC
Output Code
Miscellaneous
100

Name two officer Names

...

100

What do you call a named block of code that can be reused in a program?

Function

100

How many residential colleges are there at UCSC

10 

100

print(len("Hello, World!"))

13

100

Which planet is known as the "Red Planet" due to its reddish appearance?

Mars

200

When are our leet code workshops held?

Mondays 6-7

200

Which data structure allows you to store data in key-value pairs and is often used for fast retrieval?

Dictionary (or Hash Map)

200

What is the official mascot of UCSC?

The Banana Slug

200

numbers = [1, 2, 3, 4, 5]  print(numbers[::-1])

 [5, 4, 3, 2, 1]

200

What is the largest mammal in the world?

The blue whale

300

How many events do we have to attend to be considered for Leadership?

300

Who is the co-creator of the C programming language and a key contributor to the UNIX operating system?

 Dennis Ritchie

300

Which UCSC college is known for its focus on environmental sustainability and social justice?

College Nine and College Ten

300

300 def multiply(a, b):

    return a * b

result = multiply(3, 7)

print(result)

21

300

Who is the author of the famous fantasy book series "Harry Potter"?

 J.K. Rowling

400

Name 2 motos of GWC

Networking, Bonding, Tech Events, Diversity, Leadership

400

In object-oriented programming, what term describes the ability of an object to take on the characteristics of a class?

Inheritance

400

What is the approximate enrollment of UCSC as of my knowledge cutoff date in September 2021?

 Around 19,500 students

400

x = 10

def func(x):

    x += 5

    return x

print(func(x))

print(x)

15, 10

400

 What is the chemical symbol for the element gold?

Au

500

Name all 4 officers who are here today

..

500

What programming language, developed in 1995, is commonly used for building dynamic websites and web applications?

JavaScript

500

What year was the University of California, Santa Cruz (UCSC), founded?

UCSC was founded in 1965

500

def recursive_sum(n):

    if n == 1:

          return 1

    else:

        return n + recursive_sum(n - 1)

print(recursive_sum(4))

10

500

What is the largest planet in our solar system?

Jupiter

M
e
n
u