Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Computer programming
1. Solution01;
In put
Let;
Studentname =P
Social securitynumber=Q
Total numberof creditsforwhichthe studenthasenrolled=R
No Yes
Start
In putP, Q and R
Is R>=10
PrintP, Q the studentis
full time andpays
$1000.
PrintP, Q the studentis
part time and pays
$100
Stop
2. Solution 02;
From the givenpseudocode considerthe flow chatbellow
Yes
No
Start
In putlimit
Setnumber=0
Setsum=0
Is
sum>limit
number=number+ 1
sum = sum + number
Printnumberand
sum
Stop
Repeat
3. Solution03
From the givenflowchatabove considerthe pseudocode below
Start
In put hours,rate
If hours<= 40
Pay = hours*rate
Else
Pay = 40*rate +(hours – 40)*1.5*rate
Printpay
Stop
5. Solution04
(b) From the pseudo code givenconsiders the flowchartbelow;
Start
In put
Length= 5
Width= 11
Area= length*width
Printarea
Stop
6. Solution05;
The flowchart belowgivesthe largestnumberbetweenA, BandC.
No Yes Yes
Yes No No
Start
In putnumberA, B
and C
A>B A>CB>C
PrintA isthe
greatest
PrintB is the
greatest
PrintC is the
greatest
Stop