Search Header Logo

ABC's of Coding!

Authored by Chrysille So

Other

University

ABC's of Coding!
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?