WorksheetsCSI-P1
Total questions: 15
Worksheet time: 10mins
Shabnam Makes a Square Using the Following Code fill("green");
rect(150, 100, 20, 20);
Which Place Will the Square Drawn?
Joyee Wants To Draw an Ellipse Shape Exactly Shown In the Image. Which Coordinate will she Pick?
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)
In JavaScript What are The Rules for naming variables??
Variable names can have spaces.
Variable names can't start with a number.
Variable names are case-sensitive.
Variable names can only contain letters.
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??
No Output.
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?
Top Left
Bottom Right
Bottom Left
Top Right
Nothing
What Should Be the Code Written to Create The Following Pattern?
Difference between Stroke color and fill color?
Stroke color-Fills border color ,
Fill color-Fills color inside
Stroke color-Fills color inside ,
Fill color-Fills border color
Stroke color-No Color Filled ,
Fill color-Fills background color
Aathira Writes Below Line of Code
arc(200,100,100,100,0,300);
What does the code draw???
How does the arc always start ?
Clockwise
Anti Clockwise
fill("orange");
ellipse(randomNumber(0,300), 200, 60, 60);
What will be changed on clicking continous run?
(a)
What is Animation?
A Series of images that create illusion of motion by being show rapidly on one after another
A Single Image With Animation
A placeholder for a piece of information that can change.
A graphic Character on the screen with properties that describe its location, movement and look
How We Can Correct the code above??
we are getting Error Message (Dessert Defined but not called in Program)
Change Drink To dessert in 6th Line of code
Change Drink To Ice Cream in 6th Line of code
Change Drink To Sprite in 6th Line of code
World.frameRate = x;
A Name of code that makes Sprite Visible
Name of code that allows you to randomize a number
Name of Code that sets the Frame Rate
The Way Sprite properties are written
(Ex:-Sprite.scale)
What is the Use Of Below Line Of Code?
randomNumber(min, max)
(a)
