The truth table for "AND" boolean operator
A B
T T
T F
F T
F F
A B
T T T
T F F
F T F
F F F
DISPLAY (20 mod 4) + 3
What is 3
The type of data represented with GIF, PNG, JPEG, BMP file formats.
images or pictures
What STEAM stands for?
Science Technology Engineering Art Math
The type of control structure that can be used for making decisions in a program based on the value of a Boolean expression.
What is an if statement (or selection, or branching)
The For loop arguments to draw 100 tiny dots in a horizontal line
For (i=0, i<100, i++)
X=5;
Y=X-1;
X=Y-2;
Z=X-Y-Z;
Display (Z);
-1
Bundling commands into one container for making programs easier to write and manage is _______________.
A Function
Who is the inventor of the incandescent light bulb
Thomas Edison
The process of placing a loop inside another loop.
What is nesting
A set of problem-solving methods that involve expressing problems and their solutions in ways that a computer could execute
Computational Thinking
var X=10;
var Y=30;
var Z;
Z=Y;
Y=X-Z;
X=Z-X-Y;
Display (X);
25
Find the error in the following code
var x=10;
decrement ();
Function decrement () {
x=x-1,
}
;
What are the Inner planets?
Mercury, Venus, Earth and Mars.
The failure to create a correct condition that controls a repeat statement results in this type of programming error.
What is an infinite loop
API stand for?
Advanced Application Interface
d = 10
e = 20
f = 30
e = d
DISPLAY (e)
DISPLAY (d+e)
10
20
This code is used to Display.........
Var X;
Var Y= X MOD 2;
If (Y==1) {
Display (" X is an ----- Number")}
Display odd Number
What are the roots of:
2X2+4x-6
1, -3
The following code should display "even" if the positive number num is even.
IF (MISSING CONDITION)
DISPLAY ("EVEN")
Give a Boolean expression that could replace MISSING CONDITION
num MOD 2 == 0
Find the error in the following code:
var YnewPos;
onEvent("screen1", "keydown", function(event) {
if (event.key == [Up]) {
YnewPos = 5;
}
setPosition("image1", getXPosition("image1"), getYPosition("image1") + YnewPos);
});
"Up"
for (A=True, B=False, C=True, D=True)
NOT (((A AND B) OR D) AND C)
False
The commands used to get X,Y coordinates of any UI element
getXPosition (id);
getYPosition (id);
extremely large data sets that may be analyzed computationally to reveal patterns, trends, and associations, especially relating to human behavior and interactions.
Big Data
i <- 0
sum <- 0
REPEAT UNTIL i = 4
sum <- sum + i
i <- i + 1
DISPLAY (sum)
6