print("Hello World")
This programming language is...
What is Python?
CPU stands for
What is Central Processing Unit?
What is Technology?
The blueprint for creating objects
What is a Class?
for i in range(5):
print(i)
i+=1
What is there is no need for i+=1 because the for loop is self-incrementing?
public static void main(String[] args){
System.out.println("Hi");
}
This programming language is...
What is Java?
API stands for
What is Application Programming Interface?
The year Cavista Botswana office was officially opened
What is 2024 (September 10th)?
The OOP principle that allows a class to inherit properties from another class
What is Inheritance?
my_list = [1, 2, 3]
print(my_list[3])
What is there is no 4th index so index out of bounds exception?
puts "Hello"
This programming language is...
What is Ruby?
DNS stands for
What is Domain Name System?
Cavista's main colours
What is Red, Black, White?
A class that cannot be instantiated directly
What is Abstract Class?
public string Multiply(int a, int b){
string message = "The product is: " + a*b;
return message;
}
int x = Multiply(5, 2);
Console.WriteLine(x);
What is the function returns type string but variable x has been declared as an int?
What is Swift?
CI/CD stands for
What is Continuous Integration/Continuous Delivery (or continuous Deployment)?
The countries Cavista is located in
What is Botswana, Nigeria, India, Philippines?
The OOP principle that allows an object to take many forms
What is Polymorphism?
x = "5"
y = 2
print(x + y)
What is error triggered by trying to add a literal string to a variable of type int?
let name: string = "Alice";
This programming language is...
What is TypeScript?
REST stands for
The CEO and founder of Cavista
What is Niyi John Olajide?
The term for keywords that restrict access using public/private/protected
What is Access Modifier?
a = [1, 2, 3]
b = a
b.append(4)
print(a)
What is the output will be [1, 2, 3, 4] even though a was not appended because b now holds the memory address (reference) for the object so any change made to b is made to a?