P3: Histogram

P3: Histogram

University

7 Qs

quiz-placeholder

Similar activities

INTERNATIONAL YOGA DAY   UNIT 31 ST.XAVIER'S COLLEGE

INTERNATIONAL YOGA DAY UNIT 31 ST.XAVIER'S COLLEGE

University

10 Qs

comp. accounting quiz 9

comp. accounting quiz 9

University

10 Qs

UHV QUIZ 4 -FAMILY

UHV QUIZ 4 -FAMILY

University

10 Qs

Skills For Life

Skills For Life

KG - University

10 Qs

Understanding  the Basic Concepts in ICT

Understanding the Basic Concepts in ICT

University

10 Qs

Tips for a Business Presentation

Tips for a Business Presentation

University

10 Qs

Emergency Preparedness and Safety Movement

Emergency Preparedness and Safety Movement

University

10 Qs

P3: Histogram

P3: Histogram

Assessment

Quiz

Life Skills

University

Practice Problem

Medium

Created by

Lydia Li

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

findMaxIndex() should be called in...

main

get counts of each data method

print histogram method

print stats method

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The histogram for each dataset should begin at 1 and end at the largest value in the dataset

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What should be the size of the array that stores file data?

1000, since the spec guarantees that all files will have < 1000 lines of data

Students should first read through the file to count the number of data values

Students shouldn't use an array to store file data:(

The first value in the file is the total number of values contained in the file.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the following concept graded:

Not using a while loop in main

E

S

N

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the following concept graded:

Using while loops instead of for loops in methods other than main

E

S

N

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

This implementation of findMaxIndex() is incorrect.

True

False

7.

OPEN ENDED QUESTION

3 mins • 1 pt

What has been your favorite and/or least favorite assignment to grade?

Evaluate responses using AI:

OFF

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?