Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSI-P1

Total questions: 15

Worksheet time: 10mins

Name
Class
Date
1.

Shabnam Makes a Square Using the Following Code fill("green");

rect(150, 100, 20, 20);

Which Place Will the Square Drawn?

2.

Joyee Wants To Draw an Ellipse Shape Exactly Shown In the Image. Which Coordinate will she Pick?

a)
b)
c)
d)
3.

Sherya Wants to Replace the Location Of light-blue Square to the Blue Square.

In Below Code What will she Change & to Which Parameters?

rect(50, 50, 100, 100);

(a)  

4.

In JavaScript What are The Rules for naming variables??

a)

Variable names can have spaces.

b)

Variable names can't start with a number.

c)

Variable names are case-sensitive.

d)

Variable names can only contain letters.

5.

Jenefa Wrote a Code to Make Pattern which is Shown In Image.

Code:-

var x = 50;

var y = 200;

fill("deeppink");

ellipse(x, 100);

ellipse(350, Y);

rect(x, y);

When she Hits on Run What will be the Output??

a)
b)
c)
d)

No Output.

6.

Chaitanya writes the following code to draw a circle.

var xposition =300;

var yposition =300;

ellipse("xposition", "yposition");

In which corner of the screen will the circle be drawn?

a)

Top Left

b)

Bottom Right

c)

Bottom Left

d)

Top Right

e)

Nothing

7.

What Should Be the Code Written to Create The Following Pattern?

a)
b)
c)
d)
8.

Difference between Stroke color and fill color?

a)

Stroke color-Fills border color ,

Fill color-Fills color inside

b)

Stroke color-Fills color inside ,

Fill color-Fills border color

c)

Stroke color-No Color Filled ,

Fill color-Fills background color

9.

Aathira Writes Below Line of Code

arc(200,100,100,100,0,300);

What does the code draw???

a)
b)
c)
d)
10.

How does the arc always start ?

a)

Clockwise

b)

Anti Clockwise

11.

fill("orange");

ellipse(randomNumber(0,300), 200, 60, 60);

What will be changed on clicking continous run?



(a)  

12.

What is Animation?

a)

A Series of images that create illusion of motion by being show rapidly on one after another

b)

A Single Image With Animation

c)

A placeholder for a piece of information that can change.

d)

A graphic Character on the screen with properties that describe its location, movement and look

13.

How We Can Correct the code above??

we are getting Error Message (Dessert Defined but not called in Program)

a)

Change Drink To dessert in 6th Line of code

b)

Change Drink To Ice Cream in 6th Line of code

c)

Change Drink To Sprite in 6th Line of code

14.

World.frameRate = x;

a)

A Name of code that makes Sprite Visible

b)

Name of code that allows you to randomize a number

c)

Name of Code that sets the Frame Rate

d)

The Way Sprite properties are written

(Ex:-Sprite.scale)

15.

What is the Use Of Below Line Of Code?

randomNumber(min, max)

(a)