Search Header Logo

Mastering Small Basic Drawing and Math

Authored by Hezron Kiongo

Computers

7th Grade

Used 1+ times

Mastering Small Basic Drawing and Math
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you use the Drawline method to create a triangle?

Draw a circle around three points to create a triangle.

Connect two points with a line to form a triangle.

Draw a single line to represent the triangle's base.

Draw three lines connecting three points to form a triangle.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the coordinates needed to draw a rectangle using Drawline?

Coordinates: (0, 0), (1, 1)

Coordinates: (x1, y1), (x2, y1)

Coordinates: (x1, y1), (x1, y2)

Coordinates: (x1, y1), (x2, y2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write a Small Basic code snippet to find the sum of three numbers.

num1 = 5; num2 = 10; num3 = 15; sum = num1 - num2 - num3; TextWindow.WriteLine(sum);

num1 = 5; num2 = 10; num3 = 15; sum = num1 * num2 * num3; TextWindow.WriteLine(sum);

num1 = 5; num2 = 10; num3 = 15; sum = num1 + num2 + num3; TextWindow.WriteLine(sum);

num1 = 5; num2 = 10; sum = num1 + num2; TextWindow.WriteLine(sum);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you calculate the average of three input values in Small Basic?

average = (value1 + value2 + value3) / 3

average = (value1 + value2 + value3) * 3

average = (value1 - value2 - value3) / 3

average = (value1 + value2) / 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is input validation and why is it important when taking user input?

Input validation slows down the user input process.

Input validation is crucial for ensuring data integrity and security when taking user input.

Input validation is irrelevant for secure applications.

Input validation is only necessary for numeric data.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Describe how to draw a triangle using three Drawline commands.

Drawline(A, B), Drawline(A, C), Drawline(B, C) will create a triangle.

Use Drawline(A, C), Drawline(C, B), Drawline(B, A) to draw a triangle.

Drawline(A, B), Drawline(A, A), Drawline(B, C) to form a triangle.

Use Drawline(A, B), Drawline(B, C), Drawline(C, A) to draw a triangle.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you combine shapes using the Drawline method?

Use the DrawLine method to connect the vertices of the shapes.

Use the DrawLine method to fill the shapes with color.

You cannot combine shapes using the DrawLine method.

DrawLine can only be used for straight lines, not shapes.

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?