Search Header Logo

Understanding Programming Fundamentals

Authored by Chris Giangrasso

Computers

Professional Development

Used 1+ times

Understanding Programming Fundamentals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a scripting language?

C++

Java

VBScript

Assembly

Answer explanation

VBScript is a scripting language designed for automation and web development, while C++, Java, and Assembly are primarily used for compiled programming. Thus, VBScript is the correct choice.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what does the term "loop" refer to?

A function that calls itself

A sequence of instructions that is repeated until a certain condition is met

A variable that holds multiple values

A method of sorting data

Answer explanation

In programming, a "loop" refers to a sequence of instructions that is executed repeatedly until a specified condition is met. This is essential for tasks that require repetition, making the second choice the correct answer.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a programming language?

JavaScript

HTML

Ruby

Swift

Answer explanation

HTML is a markup language used for structuring content on the web, not a programming language like JavaScript, Ruby, or Swift, which are used for writing scripts and applications.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet in Python? ```python x = 5 y = 10 print(x + y) ```

15

510

5

10

Answer explanation

The code adds the values of x (5) and y (10) together. The result of 5 + 10 is 15, which is printed. Therefore, the correct answer is 15.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the context of programming, what does the acronym "IDE" stand for?

Integrated Development Environment

Internal Data Execution

Interactive Debugging Engine

Internet Development Extension

Answer explanation

The acronym "IDE" stands for "Integrated Development Environment," which is a software application that provides comprehensive facilities to programmers for software development, including code editing, debugging, and testing.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a function in programming?

To store data

To perform a specific task

To define a variable

To create a loop

Answer explanation

The purpose of a function in programming is to perform a specific task. Functions encapsulate code that can be reused, making programs more organized and efficient.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a type of loop in programming?

For loop

While loop

Do-while loop

All of the above

Answer explanation

All of the options listed are types of loops in programming. A 'For loop' iterates a set number of times, a 'While loop' continues as long as a condition is true, and a 'Do-while loop' executes at least once before checking the condition.

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?