Name two officer Names
...
What do you call a named block of code that can be reused in a program?
Function
How many residential colleges are there at UCSC
10
print(len("Hello, World!"))
13
Which planet is known as the "Red Planet" due to its reddish appearance?
Mars
When are our leet code workshops held?
Mondays 6-7
Which data structure allows you to store data in key-value pairs and is often used for fast retrieval?
Dictionary (or Hash Map)
What is the official mascot of UCSC?
The Banana Slug
numbers = [1, 2, 3, 4, 5] print(numbers[::-1])
[5, 4, 3, 2, 1]
What is the largest mammal in the world?
The blue whale
How many events do we have to attend to be considered for Leadership?
4
Who is the co-creator of the C programming language and a key contributor to the UNIX operating system?
Dennis Ritchie
Which UCSC college is known for its focus on environmental sustainability and social justice?
College Nine and College Ten
300 def multiply(a, b):
return a * b
result = multiply(3, 7)
print(result)
21
Who is the author of the famous fantasy book series "Harry Potter"?
J.K. Rowling
Name 2 motos of GWC
Networking, Bonding, Tech Events, Diversity, Leadership
In object-oriented programming, what term describes the ability of an object to take on the characteristics of a class?
Inheritance
What is the approximate enrollment of UCSC as of my knowledge cutoff date in September 2021?
Around 19,500 students
x = 10
def func(x):
x += 5
return x
print(func(x))
print(x)
15, 10
What is the chemical symbol for the element gold?
Au
Name all 4 officers who are here today
..
What programming language, developed in 1995, is commonly used for building dynamic websites and web applications?
JavaScript
What year was the University of California, Santa Cruz (UCSC), founded?
UCSC was founded in 1965
def recursive_sum(n):
if n == 1:
return 1
else:
return n + recursive_sum(n - 1)
print(recursive_sum(4))
10
What is the largest planet in our solar system?
Jupiter