If you pass an array as an argument to a function, what actually gets passed?

ABC's of Coding!

Quiz
•
Other
•
University
•
Hard
Chrysille So
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Address of the last element
Pointer to the first element
The first element
All elements
Answer explanation
When you pass an array name to a function, you actually pass the base address to the first element in the array.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you call a variable whose value can not be changed throughout the program?
Global
Flag
Constant
Size
Answer explanation
Because of its nature, constant variables are typically useful when defining a fixed, common size for data structures.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a computer file that contains an encoded sequence of instructions that the system can execute directly when the user clicks the file icon?
.mp4
.htm
.exe
.svg
Answer explanation
.exe is a file extension that stands for "executable."
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you call a self-defined variable that usually contains 0 or 1?
Integer
Flag
Constant
Double
Answer explanation
A flag refers to a value or variable that helps signal a function or process in a program.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does GCC stand for?
GNU Code Compiler
GNU Compiler Collection
GNU Compiler Call
GNU Coding Compiler
Answer explanation
GCC is a set of programming compilers that includes C, C++, Objective-C, Fortran, Java, and Ada.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is usually the first line of code when using HTML?
<html>
<title>
<head>
<!DOCTYPE html>
Answer explanation
Doctype HTML is a declaration that tells the browser what version of HTML the document is written in.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Does n++ perform the same action with n+=1?
Yes
No
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Interpreter Quiz

Quiz
•
University
17 questions
Basics of Programming with C

Quiz
•
University
13 questions
Introduction to Python Programming Quiz 9E

Quiz
•
10th Grade - University
18 questions
MIDTERM EXAM

Quiz
•
University
15 questions
Kalakriti S1 Quiz JIDO

Quiz
•
University
8 questions
Basics of Python

Quiz
•
University
15 questions
C programming and Arduino Basics

Quiz
•
University
11 questions
quiz - 8 - day - 4

Quiz
•
12th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade