C++
C
Other Coding Questions
Sorting Algorithm
100

A variable that stores a true/false value is commonly referred to as

 

Boolean values

100

The function which displays output to the screen

What is the printf() function

100

The go to beginner coding example 

What is "hello world"

100

This is the fastest sorting algorithm.

What is Quicksort

200

The number used to access a certain position in an array is

An index

200

C is an object oriented programming language (T/F)

False

200

Generally the smallest addressable unit of memory 

What is a bit

200

This is the longest sorting algorithm.

Bogosort

300

The value of x from the code below:


int x = 12;

int y = 12;

x *= y;

What is 144

300

What is the output of the following code:

auto char var1 = "A";
printf("%d" , var1)

What is 65

300

Combines the object file with other machine code necessary to run your C++ program is this

What is linker

300

This sorting algorithm keeps breaking the data up until it can't anymore and then combines it back together in the sorted arrangement

What is merge sort

400

This can be used to get string input from the user at the keyboard

What is getline () function

400

What is the purpose of these operators << and >>

For Bitshifting
400

A memory location whose contents can change while a program is running is this

What is variable

400

What is the big O of merge sort

What is n*log(n)

500

A variable whose contents are another memory location

What is a pointer

500

The function that returns the number of characters read

What is the scanf() function

500

This is the systems that contain both the editor and compiler in one integrated environment

What is IDE ( Integrated Development Environment)

500

This was the first sorting algorithm.

What is radix sort

M
e
n
u