Midterm Exam - CPE102L-Computer Fundamentals and Programming
Midterm Exam - CPE102L-Computer Fundamentals and Programming
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
MIDTERM EXAM
In CPE 102L – Computer Fundamentals and Programming
1st Semester, S.Y. 2022-2023
Part B:
True or False: Write true if the statement is correct; write false if otherwise.
__________ 11. Computers can be defined as an electronic device that accept and
store input data, process data, and produce appropriate information.
__________ 12. In 1907, the floppy disk was introduced.
__________ 13. ENIAC stands for Electronic Numerical Integrator And Computer.
__________ 14. BINAC stands for Binary Automated Computer.
__________ 15. In 1990, intel introduces the i486 microprocessor chip
__________ 16. The higher the clock rate, the more instructions you CPU can perform.
__________ 17. Arithmetic and Logic unit is divided into two sections namely,
Arithmetic and Logic section.
__________ 18. Your PC may work without any CPU.
__________ 19. Memory unit stores data and instructions for processing.
__________ 20. logic section is responsible in performing logic operations like
comparing, selecting, matching, and merging data.
__________ 21. PC can still work without any data storage device.
__________ 22. SDRAM is Single Data Rate meaning that SDRAM can accept one
command and transfer one word of data per clock cycle.
__________ 23.USB Flash drive is an outdated storage device consisting of a thin disk
of a flexible magnetic storage medium. Used today mainly for loading RAID drivers.
__________ 24. You may replace your PC’s Hard disk drive with a USB flash drive and
without having any problem.
__________ 25. DDR3 SDRAM is much faster than DDR2 SDRAM.
__________ 26. PC can still work without any output device. However, you'd have no
way of determining what the computer is doing since output devices allow us to view
and get the results of input from a computer.
__________ 27. Speakers are typically a pair of devices (2 channels) which convert
electrical signals into audio.
__________ 28. Touchscreen is an example of input and output device.
__________ 29. Output devices are hardware devices that let users to send data to a
computer, it also allows you to interact and control it.
__________ 30.RAM is an example of output device.
__________ 31. With the use of input devices, you can add data and information to
your computer.
__________ 32. Webcam is an example of input device.
__________ 33. Mouse is a pointing device consisting of an exposed protruding ball
housed in a socket that detects rotation about two axes.
__________ 34. Input devices are hardware devices that let users to send data to a
computer, it also allows you to interact and control it.
__________ 35.A keyboard is a device to input text and characters by depressing
buttons (referred to as keys or buttons).
Part C:
Multiple choice: For each question, encircle the letter that corresponds to your answer.
36. Find the odd one out.
a) Hardware c) Information
b) Software d) Data
Part D:
Convert the following number from one base to another. Write your answer with a
solution and box your final answer (2points each).
41-42. Convert 011010012 to decimal
61. The session color must be RED background and Light yellow font color.
62. Change the session title to your NAME. (Lastname, Firstname, MI.)
63. Create a folder “MIDTERM” on the Documents folder.
64. Create a folder “EXAM” on the Desktop folder.
65. Change the date on your computer to the date tomorrow.
66. On Desktop, create a folder inside the EXAM folder and name it as “VIRUS”.
67. Now, show the content of the Document Folder.
68. Rename the MIDTERM folder to “MSDOS” on the Documents folder.
69. Move VIRUS folder to MSDOS folder
70. Delete the MSDOS folder.
For checking purposes, kindly list down the correct order of commands including the
61. _______________________________
62. _______________________________
63. _______________________________
64. _______________________________
65. _______________________________
66. _______________________________
67. _______________________________
68. _______________________________
69. _______________________________
70. _______________________________
71-75. Create a batch file then create a directory named TEST in drive C:\Users\your
name then copy all files in drive C:\Users\your name that ends in .bat to the directory
TEST and display all files copied. (5points) write your code below.
76-80. Create a batch file that will test if the inputted number is 0, it will display a text
“HELLO WORLD”, if the inputted number is 1, it will display a text “WELCOME TO
BATCH SCRIPTING” to the screen. (5points) write your code below.