Search Header Logo

Basics of Coding and AI Applications

Authored by fuad r alfikri

Information Technology (IT)

12th Grade

Basics of Coding and AI Applications
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of a programming language?

To create visual designs for websites.

To facilitate communication between humans and computers for software development.

To store data in databases.

To manage hardware resources efficiently.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a common data structure used to store a collection of elements?

Linked List

Array

Stack

Hash Table

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an algorithm typically represent?

A step-by-step procedure for solving a problem.

A graphical representation of data.

A random collection of data points.

A method for storing information.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what is a variable?

A variable is a symbolic name for a storage location that can hold a value and can be changed during program execution.

A variable is a command that executes a function.

A variable is a type of programming language.

A variable is a fixed value that cannot be changed.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a programming paradigm?

functional

object-oriented

syntax

declarative

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of accessing an element in an array?

O(1)

O(n^2)

O(n)

O(log n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a loop in programming?

A function that runs only once when called.

A type of variable that stores multiple values.

A method for organizing data in a program.

A control structure that executes code repeatedly based on a 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?