Computational Thinking Quiz1
Computational Thinking Quiz1
0eoleam
swe false
opeaien : AND, oDR
Res ult
pe Boolean
Tntegen
C -3, -2, -1,0, 1,
2,3,)
Openaien + X
mbahisior),>,<
Res lt
irdeqeh
Boolean (in case Combanisle
q
ake em emirdelT
quotient fomqet
Chdhacte
Values al phanumeic
z
A B.. 2 ab.
O
.9
Sheciall chahact ens
Chenadien
lemparusen p egpivaly)
Openaion pnt
,> =
Compoisien
ManKs
ut ho
o 4-S Xloo =445o
oabot q4.5 ManK
Quality
Anoort/
kange e values O,1,2, 3...
sting
openaien Snd
CQuamit
4,> (Sooleam )
Resut hy bes
0oB Dates
Oada ty bes
Seeikcten
CT7
T
Sequerce of dole. elements
Ca esegpence ehecnds)
NO
/Moe caid in Vile STof
cad is stillYGS
rotgond
hen yes
Cand7
NO
Cx Checking
ChecKing Max total maiks in Soe Cad
(toppens MahKs
Steps
O ho hhough allhe Cahds (iteoien)
Save Aax total.yahiables =0 iritilipster)
InUhame.vtasl
updoe. Vahlo.bke. Max with Max total
Value Manks
Replace Next
Max scoNEN
H
Value
e
(ManKs) Max vauable
we Cam have Multi ple Vaiable (count)
in Single itenatiom
Max ustome
Ke ining Shop with
finddn
6ilings
Shopnames
Max
SS s2. Bil
T 2 3h S Jabiable
7
Hou 2 Solve his
Max Lo Cand é y 23
Sta
Ini jal3e
Vasiable = O
VicKa candX
om ile 1
Move x to Pide 2
Do Somehing
Check fo
6 NO
to shouw Yaiable
START
Vawe is NuLied
1D = -|
Max O, Max Cahd
Mene Cad NO
END
in Ple 1
YES
Amet
NO
Cand X.Maths 2 Max Cahd X. Mahs =Max
Yes
CacX. Maths Appe nd Cand X.id
Max =
Vahiable (O
VaJriable (
to
Valne fo
Value
Stant ASSining
ASSiin
Ont=
Count o = O
End
.
itehaHen oith tes
seudo Code e
SUM oBoys Mahks Maths
Sum = 0
I
kas maie caicls)
Lohile Pile
icK a Cad X fei le
Move X to Pile 2
(X.Gerden = M)
SUM SuM + X.maths
ASsiNGMENT Stajemerd
Count = O
SuM SuM X.maths
LaN)I710ANAL Exeti@n
once (onalition) {3 else .
Reopeoder
4Dhife (Lorditien)
.t
CSsigment C-)
hocedwAe
o Sum e MaRs on boy ginls
SLm=O
while Pilei has meie Cards)
Pick a cad X hem Pile l
Move X D Pile 2
(x gende = gem)
Sum Sum +X.Matts
heton (sum)
erd SumMahKs
Calling a bhoceduhe
eg Maths
ias Sun Maths (F)
Manks
SUNM
SUM = OD
noceduae
Called as a Pdade Manks(1,Ausks,88)
Stpasade
Staememt
ins Phy Som = Som Maski hy
Pseudocode he ToP thvee Masks (Subjed)
max O
Second max = O
Thisdmax = O
ke,
we Lot ho Collect studens oikn same BO8.
o. Compaisiert N N-1)
2
foct e eductien N-
Mg-1
N N0. ob)eH = 9
K No. bins
9-1
s)- 31
in his Cake