M1:L1-Enrichment Activity
Name: Score: Year and Section:
Professor: CARLO MALIZON
Identifythefollowing:
1.Acategoryofprogramminglanguagewhereinstructionsarewrittenin0’sand1’s.
[Link]
computeroranycomputingdevicetoperformspecific tasks.
3. These are programs that are utilized by a particular programming
language to translate instructions written either in low-level language or
high-level language.
[Link] interrelated programs.
5. It translates program written in high-level language into machine
language one statement/command at a time.
[Link] programminglanguagethatisusedbyprimitivemachines.
7. Itisaprogramminglanguagethatfollows,in order,asetofcommands.
[Link] programs.
[Link]
acategoryofprogramminglanguagewhereinstructionsarewritteninmnemoniccodes/symbols.
[Link] C++,Java,[Link],etc
Answers..
1. Machine Language
2. Programming Language
3. Translator Program
4. Software/System/Application
5. Interpreter
6. Machine Language
7. Procedural language
8. Assembler
9. Low-level language
10. Object-Oriented programming language
M1:L2-Enrichment Activity
Name: Score:
Section: Professor:
[Link],writeonlytheletterofansweront
heblankprovided.
ColumnA ColumnB
1. It is the result of the development process
[Link]
thatstartedwithan older language called BCPL.
[Link]. b. Loader
3. Thisprogram executionphaseis wherean [Link]
objectcodeisproduced by compiler that contains holes.
[Link] Clanguage. [Link]
[Link] e.C
compiled.
[Link]. [Link]
[Link] B language. [Link]
[Link] [Link]
machine language code.
[Link] memory. [Link]
10. This program execution phase [Link]
allowstheprogrammertotypethe programwithaneditorprogram.
Answers:
1. E
2. D
3. J
4. A
5. H
6. C
7. F
8. I
9. B
10.G
M1:L3-Enrichment Activity
Name: Score:
Section: Professor:
[Link]“R
EGINA”onyour screen.
M1:L4-Enrichment Activity:
Name Score:
Section: Professor:
Discuss in your own words the basic elements of C program.
→A C program is a structured set of instructions with various
elements, each playing a crucial role in its functionality. Its main
function is the entry point for execution, containing instructions
that determine the program's behavior. Data types, operators,
control structures, functions, and input/output functions are
essential for decision-making and repetition. The standard library
in C offers predefined functions, which can be included at the
program's outset with #include. Proper syntax, such as semicolons
(;) and curly braces {}, is crucial for a C program's functionality. In
summary, a C program is a versatile and widely used
programming language.
M1:L5-Enrichment Activity
Name: Score:
Section: Professor:
Identify what is being required by the following task:
1. Write an input statements that will allow the user to store integer value to num variable.
a. int num;
2. Writedifferentinputstatementsthat willallowtheusertostorecharacter valuetochvariable.
a. char a[20];
b. char b;
3. Writeanoutputstatement forthenumber1 task.
4. Write different output statements for the number 2 task.
a.
b.
M1:L6-Enrichment Activity
Name: Score:
Section: Professor:
I. Provideonthespaceprovided theformatspecifiersorstringof thefollowingdatatype:
a. Integer- numbers except decimal ones
b. Signed integer- both positive and negative numbers
c. Character- letter or words
d. Float- BIG decimal numbers bigger than double
e. Double- decimal numbers
II. Enumerate the following:
1. What are the classification of data types:
a. Primary data type
b. Derived data type
c. User Defined Data Type
2. What are the keywords for primitive data types:
a. d char
b. int
c. double
d. float
M1:L7-Enrichment Activity
Name Score:
Section: Professor:
IdentifyifitisV-valid orI–invalidnameofvariables.
V [Link]
I [Link]
V [Link]
I [Link]*1
V 5.2ndnumber
I [Link];
V [Link]
V [Link]
I 9._sample
I [Link]-1
M1:L8-Enrichment Activity
Provide examples of the use of different operators:
1. arithmetic/mathematical operators
2. increment and decrement operators
3. assignment operators
4. relational operators
5. logical operators
6. bit wise operator ?
7. comma
8. size of operators.
M1:L9-Enrichment Activity
Name: Score:
Section: Professor:
I. Solve the following expressions:
1) 10*2+3-(6%2+9)
FALSE
2) 6%3%4+9+3/10/5
FALSE
3) 6>=5&& 10==10
TRUE
4) !(!(3<4||5>=2)&&8>1)
TRUE
II. Programming.
Writeaprogramthatwillinputtwointegersand determinetheproductof thetwo integers.