Week 3: Vector Practice

Week 3: Vector Practice

University

16 Qs

quiz-placeholder

Similar activities

Java Quiz based on array

Java Quiz based on array

University

15 Qs

KT 15P TIN 11 HKI

KT 15P TIN 11 HKI

12th Grade - University

15 Qs

Recap Chapter 6, 7, 8

Recap Chapter 6, 7, 8

University

11 Qs

C fundmentals

C fundmentals

University

18 Qs

Python Basics

Python Basics

KG - University

15 Qs

Python Basics

Python Basics

KG - University

16 Qs

C programming-1

C programming-1

University

13 Qs

Pointers

Pointers

University

20 Qs

Week 3: Vector Practice

Week 3: Vector Practice

Assessment

Quiz

Computers

University

Medium

Created by

Emma Nagy

Used 13+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when the following line is run:

var = class('a')

char

double

logical

cell

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when the following line is run:

var = class(7)

char

double

logical

cell

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when the following line is run:

var = class(false)

char

double

logical

cell

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when the following line is run:

var = class('7')

char

double

logical

cell

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the output when the following line is run:

var = floor(4.678)

4.67

4

5

4.7

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the output when the following line is run:

var = ceil(2.003)

2

2.00

2.01

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

True or False: A vector must contain data of all the same type.

true

false

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?