Koding dan Kecerdasan Artifisial

Koding dan Kecerdasan Artifisial

Assessment

Quiz

Others

9th Grade

Medium

Created by

ANE DJARA

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of programming?

To create instructions for computers to perform tasks or solve problems.

To manage social media accounts.

To design graphics and images.

To write novels and stories.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define an algorithm in your own words.

A collection of unrelated data.

A random guess for a solution.

A complex mathematical theorem.

An algorithm is a step-by-step procedure for solving a problem.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data structure uses a Last In First Out (LIFO) method?

Queue

Stack

Linked List

Array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming language is known for web development?

JavaScript

Java

Python

C++

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of a loop in programming?

To create a new function in the program.

To store data in a variable.

To execute a block of code repeatedly based on a condition.

To define the structure of a program.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name one popular library used for machine learning in Python.

Scikit-learn

Pandas

TensorFlow

NumPy

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a compiler and an interpreter?

A compiler translates the whole program at once, while an interpreter translates and executes it line-by-line.

A compiler translates code line-by-line, while an interpreter translates the whole program at once.

A compiler is used for scripting languages, while an interpreter is used for compiled languages.

A compiler executes the program while an interpreter only translates it.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?