AS Data Types and Programming Constructs

AS Data Types and Programming Constructs

10th - 12th Grade

22 Qs

quiz-placeholder

Similar activities

CSAwesome Unit 1 Test

CSAwesome Unit 1 Test

12th Grade

18 Qs

Ôn tập cuối kì Đông. Python

Ôn tập cuối kì Đông. Python

10th Grade - University

21 Qs

Word Processing

Word Processing

6th Grade - University

17 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

MAC - Unit 2

MAC - Unit 2

9th - 12th Grade

18 Qs

AP CSA Unit 1 Review

AP CSA Unit 1 Review

10th - 12th Grade

20 Qs

Python

Python

12th Grade

22 Qs

CẤU TRÚC RẼ NHÁNH TRONG PYTHON

CẤU TRÚC RẼ NHÁNH TRONG PYTHON

11th Grade - University

22 Qs

AS Data Types and Programming Constructs

AS Data Types and Programming Constructs

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Paul Revell

Used 22+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is most suitable for storing True/False?

Integer

Real

Float

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is most suitable for storing whole numbers?

Integer

Real

Boolean

Char

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match this definition to the correct type: A number with a fractional part

Real

Integer

Irrational

Natural

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would you store using the Char data type?

A cartoon character such as Daffy Duck

A string such as PIG

An integer such as 17

A single character such as T

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose all that could be stored as a string

PIG

p!g

123.4

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In VB.net a structure is needed to...

Declare the names and types of data for records

Enclose a loop or selection

Create a new sub-routine

Declare an array

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Pigs = {"porky", "scratchy", "grunter"}

Choose all that are true...

Pigs(1) = "scratchy"

Pigs.length = 3

Pigs(Pigs.length - 1) = "grunter"

Pigs(0) gives "Error: Out of bounds"

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?