Computer Science Quiz 02

Computer Science Quiz 02

10th Grade

19 Qs

quiz-placeholder

Similar activities

Micro:bit Python #1

Micro:bit Python #1

9th - 12th Grade

17 Qs

8.1 Programming Overview

8.1 Programming Overview

9th - 11th Grade

14 Qs

INTRODUCTION TO OOP TECHNIQUE

INTRODUCTION TO OOP TECHNIQUE

11th - 12th Grade

15 Qs

Python basics

Python basics

7th - 10th Grade

18 Qs

GCSE - 2.3 Producing Robust Programs

GCSE - 2.3 Producing Robust Programs

9th - 11th Grade

15 Qs

Introduction to Python

Introduction to Python

University

20 Qs

Unit 1. Introduction to Object-Oriented Programming Concepts

Unit 1. Introduction to Object-Oriented Programming Concepts

9th - 10th Grade

15 Qs

OO Programming OCR A level

OO Programming OCR A level

10th Grade - University

20 Qs

Computer Science Quiz 02

Computer Science Quiz 02

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Dominic James Horsley

Used 7+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in programming?

A block of code that performs a specific task

A variable that stores data

An error in the code

A type of network protocol

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term 'syntax' refer to in programming?

The color of the code

The rules governing the structure of statements

The speed at which code is executed

The storage location of code files

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a loop structure in programming?

If-else

For

Switch

Case

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a compiler?

To convert source code into executable code

To store data temporarily

To manage network connections

To compile lists of variables

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, what does the 'print()' function do?

It sends data to a printer

It outputs data to the screen

It sorts a list of items

It saves data to a file

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array in programming?

A single value variable

A collection of values of the same type

A block of code that executes repeatedly

A syntax error in the code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of an integer data type?

3.14

'Hello'

42

True

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?