Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Exercises and Questions for Understanding the Basics of Programming, Exams of Construction

A series of exercises and questions designed to reinforce fundamental programming concepts. It covers topics such as variables, data types, operators, control flow, and basic input/output operations. The exercises are suitable for beginners learning programming and can be used to test understanding and practice coding skills.

Typology: Exams

2024/2025

Available from 03/17/2025

reuben-kahuro
reuben-kahuro 🇺🇸

1

(1)

1.1K documents

1 / 39

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
012356789
73
30503
!"#$ !%&'()*+ ,-. / 0)1(2*3 $34))()*+ / ")+5))* !)623*/"'278)4 1*8
+)1(2*3 914+:
;%(9%*)*+6 %< 0)1(2*3 $34))()*+ / ='172<2&1+2%*6> 2*6'41*&)> (1+42? %<
4)69%*62@272+2)6> &%*<28)*+2172+: 1*8 )?&7'62A2+:> 91:()*+ %<
6+29)*8BC%*%1442'(
DEF ;GEH A 0E$IFHG / 8%)6 +)1(2*3 134))()*+ 512A)4 6'4A2A) 2< 6'@&%*+41&+
6'9)46)8)6 +)1(2*3 134))()*+J / :)6K 6'@&%*+41&+ 516 627)*+> 512A)4 2* 942()
<7%5)8 8%5*K
;%((%* H4%&'4)()*+ ;C177)*3)6 / / &%*8'&+2*3 94%942)+14: ())+2*36
LM
C1*872*3 17+)4*1+2A) +)&C*2&17 &%*&)9+6
LM
)A17'1+2*3 *%*/942&) <1&+%46
LM
&%*628)41+2%* %< 177 94%9%617 2*<%4(1+2%*
LM
'6) %< 5%4N 94%8'&+ <% '*6'&&)66<'7 94%9%6)46
F+1*8148 <%4( &%*+41&+6 / / 4)<7)&+ 2*8'6+4: &%*6)*6'6 %* 426N 177%&1+2%*
LM
94)82&+1@7) O'82&217 2*+)494)+1+2%*
LM
&%*A)*2)*+ 1*8 &%6+ )<<)&+2A)
;'44)*+ DF F+1*8148 P%4( ;%*+41&+6 / / !"#$ QR.S.BR.STU
LM
;%*6)*6'6 !%&6 QR.STU
/ $#$ QR.SVU
/ WX!; QR.STU
!"#$ GYIWEB!WF#ZI/"D#[!WE $ZEWW\WI0F / / ,R. H4)72(2*14: $34))()*+
LM
,R, ['(9 F'(
LM
,]. ;%6+ H7'6 P)) 52+C G9+2%* <%4 Z\H
LM
,], Z)*)417 ;%*82+2%*6
LM
,V, H4%34)662A) !)623*/"'278 ;%*+41&+ <%4 +C) Y1+)4BY16+)51+)4 F)&+%4
;%*+41&+2*3 $994%1&C)6 / / ['(9 F'(
LM
;%6+ H7'6
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download Exercises and Questions for Understanding the Basics of Programming and more Exams Construction in PDF only on Docsity!

4 ) 69 %* 62 @ 272 + 2 ) 6 >&%< 28 )+ 2172 +: 1 * 8 )?& 7 ' 62 A 2 +:> 91 :()*+%<

6 + 29 )* 8 BC%*% 1442 '(

DEF;GEHA 0 E$IFHG/ 8 %) 6 +) 1 (2* 3134 ))()+ 512 A) 46 ' 4 A 2 A) 2 < 6 '@&%+ 41 &+

6 ' 9 ) 46 ) 8 ) 6 +) 1 (2* 3134 ))()+J/:) 6 K 6 '@&%+ 41 &+ 516627 )*+> 512 A) 42 * 942 ()

< 7 % 5 ) 88 % 5 *K

;%((%H 4 %&' 4 )()+;C 177 )* 3 ) 6 //&%* 8 '&+ 2 * 394 % 942 )+ 14 :())+ 2 * 36

LMC 1 * 872 * 317 +) 4 * 1 + 2 A)+)&C* 2 & 17 &%*&) 9 + 6

LM)A 17 ' 1 + 2 * 3 %/ 942 &)< 1 &+% 46

LM&%* 628 ) 41 + 2 %*%< 17794 % 9 % 6172 <% 4 (1+ 2 %

LM' 6 )%< 5 % 4 N 94 % 8 '&+<%'* 6 '&&) 66 <' 794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