Parts of a program and Functions Quiz

Parts of a program and Functions Quiz

12th Grade

20 Qs

quiz-placeholder

Similar activities

Draw toolbar & Shortcuts

Draw toolbar & Shortcuts

7th Grade - Professional Development

20 Qs

Sustainable Development Goals

Sustainable Development Goals

1st Grade - Professional Development

20 Qs

Thanksgiving

Thanksgiving

KG - 12th Grade

20 Qs

Pride Time 2020 Week 1 Term 2

Pride Time 2020 Week 1 Term 2

7th - 12th Grade

16 Qs

Travel and Tourism Quiz

Travel and Tourism Quiz

3rd - 12th Grade

15 Qs

podstawy HTML

podstawy HTML

12th Grade

20 Qs

KIỂM TRA TIN HỌC 12

KIỂM TRA TIN HỌC 12

1st - 12th Grade

20 Qs

brands and logos

brands and logos

KG - Professional Development

22 Qs

Parts of a program and Functions Quiz

Parts of a program and Functions Quiz

Assessment

Quiz

Other

12th Grade

Easy

Created by

Keesha Jennings

Used 8+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What are the major components of a program header?

Specification, Name, Date, Import statement(s)

Polyline, Polygon, ThickPolyline, SolidPolygon

Variables, Functions, Lists, Slideshow

Lettering, Lettering Block, Painted, Dots

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the purpose of a specification?

To provide a short summary about the program and its function

To define the name of the person creating the program

To specify the date when the program was created/finished

To import libraries from the Code World documentation

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How do we define a function in computational thinking?

A predefined process applied to an input to produce an output.​

A job that you do each day.

The special, normal, proper physiologic activity of a body part or an organ.

A short summary about the program.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the signature of the painted function?

painted :: (Picture, Text) -> Picture

painted :: (Picture) -> Text

painted :: (Text) -> Picture

painted :: ([Text], Picture) -> Picture

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the purpose of the lettering function?

To label the points on a graph

To draw a line going through many points

To create multiple pages with inserted information

To provide a text displayed in the center of the screen

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the signature of the combined function?

combined :: [Point] -> Picture

combined :: (X pos, Y pos, Size, Text) -> Picture

combined :: [Picture] -> Picture

combined :: (Point) -> Picture

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the purpose of the labeling function?

To draw a line going through many points

To reduce a list of pictures to a single picture

To label the points on a graph

To choose the position and size of the text

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?