Logo/

Introduction to Computers and software basics

Log in

Made with ScholarlyMake flashcards like these from your own notes

Introduction to Computers and software basics

Questions and answers

170 cards
  1. Question:What is a computer?

    Answer:An electronic device that performs processes, calculations, and operations based on instructions from software or hardware programs.

  2. Question:What is the difference between data and information in computing?

    Answer:Data is raw facts and figures; information is processed data used for decisions and actions.

  3. Question:What are arithmetic operations in data processing?

    Answer:Calculations like addition, subtraction, differentials, and square root.

  4. Question:What are logical operations in data processing?

    Answer:Comparison operations like greater than, less than, equal to, and opposite.

  5. Question:What is the input unit of a computer?

    Answer:Devices like keyboard and mouse used to input data and instructions.

  6. Question:What is the output unit of a computer?

    Answer:Devices like printer and visual display unit that provide information to the user.

  7. Question:What does the control unit do in a computer?

    Answer:Controls all functions of the computer and manages interactions between parts.

  8. Question:What is the arithmetic logic unit (ALU)?

    Answer:The brain of the computer where arithmetic and logical operations occur.

  9. Question:What are the two types of memory in a computer?

    Answer:Primary memory (inside CPU) and secondary memory (external).

  10. Question:What is the central processing unit (CPU)?

    Answer:Control unit, arithmetic logic unit, and memory together.

  11. Question:What are hardware components of a computer?

    Answer:Physical devices like keyboard, mouse, and printer that can be seen and touched.

  12. Question:What is software in computing?

    Answer:Set of instructions or programs that make hardware function.

  13. Question:What is the speed characteristic of computers?

    Answer:Can carry out 3-4 million instructions per second.

  14. Question:What causes errors in computers?

    Answer:Inaccurate data, wrong instructions, or bugs in chips (human errors).

  15. Question:What is the reliability characteristic of computers?

    Answer:Can repeat the same work without errors from tiredness or boredom.

  16. Question:What is versatility in computers?

    Answer:Can perform a wide range of tasks from data entry to complex calculations.

  17. Question:What is storage capacity advantage of computers?

    Answer:Can store large amounts of data cheaply and safely from wear and tear.

  18. Question:What advantage do computers have in repetitive tasks?

    Answer:Perform the same task repeatedly with consistent accuracy without tiring.

  19. Question:What is a disadvantage of computers regarding intelligence?

    Answer:No intelligence; follow instructions blindly without considering outcomes.

  20. Question:What is required for computers to function?

    Answer:Regular electric supply.

  21. Question:What is booting in computers?

    Answer:Starting a computer or device by switching on power and loading the OS.

  22. Question:What is BIOS?

    Answer:Basic Input Output System, the first program that runs on startup; firmware in hardware.

  23. Question:What is the difference between cold booting and warm booting?

    Answer:Cold: starting from power off; warm: restarting a running system (faster, no BIOS reload).

  24. Question:What is hardware in a computer system?

    Answer:Physical parts or components that can be seen and touched.

  25. Question:Give examples of input devices as hardware.

    Answer:Keyboard, mouse.

  26. Question:Give examples of output devices as hardware.

    Answer:Printer, monitor.

  27. Question:Give examples of secondary storage devices.

    Answer:Hard disk, CD, DVD.

  28. Question:Give examples of internal hardware components.

    Answer:CPU, motherboard, RAM.

  29. Question:What is software?

    Answer:Set of instructions that achieve a single outcome or task when programs work together.

  30. Question:What is a program?

    Answer:Sequence of instructions written to solve a particular problem.

  31. Question:What is system software?

    Answer:Programs to operate, control, and extend the computer's processing capabilities; interface between hardware and users.

  32. Question:Give examples of system software.

    Answer:Operating System, Compilers, Interpreter, Assemblers.

  33. Question:What features make system software close to the hardware?

    Answer:Written in low-level language, fast, difficult to design, less interactive.

  34. Question:What is an operating system?

    Answer:Main program that manages resources like memory, CPU; loads first on startup; provides user interface.

  35. Question:What is a language processor in system software?

    Answer:Converts high-level source code to machine code.

  36. Question:What is a device driver?

    Answer:Software that controls a device like printer or mouse to connect with the system.

  37. Question:What is application software?

    Answer:Designed for specific user needs; single program or package for tasks like word processing.

  38. Question:What are features of application software?

    Answer:Specialized tasks, large size, interactive, easy to design, high-level language.

  39. Question:What is general purpose application software?

    Answer:Used for variety of tasks; not limited to one function, e.g., MS Word, Excel.

  40. Question:What is customized application software?

    Answer:Designed for specific tasks or organizations, e.g., reservation systems.

  41. Question:What is utility application software?

    Answer:Supports infrastructure; analyzes, optimizes, maintains system, e.g., antivirus.

  42. Question:Give examples of application software.

    Answer:Payroll, Student Record, Inventory Management, MS Office.

  43. Question:What is an interface in computing?

    Answer:Shared boundary for exchanging information between components like software, hardware, users.

  44. Question:What is a hardware interface?

    Answer:Mechanical, electrical, logical signals and protocols for components like buses, storage.

  45. Question:What are types of hardware interfaces?

    Answer:Parallel (multiple connections) or serial (one bit at a time).

  46. Question:What is a software interface?

    Answer:Allows interaction at different levels, e.g., OS with hardware, apps via data streams, objects via methods.

  47. Question:What is an operating system (OS)?

    Answer:Resource manager for hardware (CPU, RAM, etc.), controls apps, security, user access.

  48. Question:What are primary objectives of an OS?

    Answer:Provide services for running apps (load to memory, allocate CPU); user interface for interaction.

  49. Question:What is a command-based user interface?

    Answer:User enters commands via keyboard; less interactive, single program at a time; e.g., MS-DOS, Unix.

  50. Question:What is a graphical user interface (GUI)?

    Answer:Uses icons, menus, windows; input via mouse/keyboard; e.g., Windows, Ubuntu.

  51. Question:What is a touch-based user interface?

    Answer:Interacts via touchscreen for commands like opening apps; e.g., Android, iOS.

  52. Question:What is a voice-based user interface?

    Answer:Uses voice commands; e.g., Siri, Cortana.

  53. Question:What is a gesture-based user interface?

    Answer:Uses motions like waving, tilting; in smartphones, laptops.

  54. Question:What is process management in OS?

    Answer:Manages multiple processes, allocates CPU, exchanges info; minimizes time for tasks.

  55. Question:What is memory management in OS?

    Answer:Allocates and frees main memory dynamically for processes without affecting others.

  56. Question:What is file management in OS?

    Answer:Handles creation, update, deletion, protection of files in secondary storage.

  57. Question:What is device management in OS?

    Answer:Manages I/O devices, interacts with drivers, configures for users.

  58. Question:What is a programming language?

    Answer:Set of rules to convert strings into machine code or graphical elements for computers.

  59. Question:Who is considered the first computer programmer?

    Answer:Ada Lovelace, who wrote the first algorithm for Babbage's analytical engine in 1843.

  60. Question:What is Assembly language?

    Answer:Low-level language using symbols instead of binary; first widely used in 1949.

  61. Question:What is Autocode?

    Answer:First compiled language in 1952; family of simplified coding systems.

  62. Question:What is Fortran?

    Answer:High-level language for numeric and scientific computing, developed 1957; 500% faster than Assembly.

  63. Question:What is Cobol?

    Answer:Business-oriented language from 1959; ran 80% of world business by 1997.

  64. Question:What is BASIC?

    Answer:Beginner's All-Purpose Symbolic Instruction Code from 1964; accessible for home computers.

  65. Question:What is C programming language?

    Answer:High-level language from 1972; basis for many others like Java, Python.

  66. Question:Why is Python popular today?

    Answer:High-level, readable; used by 50% developers; endorsed by Google, etc.

  67. Question:What is JavaScript used for?

    Answer:Multi-paradigm, dynamic; chosen by 65% programmers; for web by Microsoft, Netflix.

  68. Question:What makes Java demanded?

    Answer:Classic, fast development, cost-efficient; used by Spotify, Amazon.

  69. Question:What is PHP?

    Answer:Open-source for scripting and web; used by 22% professionals.

  70. Question:What is TypeScript?

    Answer:Simplifies JavaScript; easier to read/debug; top 10 language since years.

  71. Question:What is a processor or CPU?

    Answer:Logic circuitry that responds to and processes instructions; performs calculations.

  72. Question:What measures CPU capability?

    Answer:Max bits/instructions, clock speed, processing ability at a time.

  73. Question:What are the three steps of the CPU instruction cycle?

    Answer:Fetch (from RAM), decode (to signals), execute (perform operation).

  74. Question:What is the control unit (CU) in a processor?

    Answer:Directs operations; instructs memory, ALU, I/O on program responses.

  75. Question:What functions does the control unit perform?

    Answer:Coordinates data flow, understands/decodes instructions, regulates processor data, handles execution units.

  76. Question:What is the ALU in a processor?

    Answer:Performs arithmetic and logic operations; integrated circuit in CPU.

  77. Question:What are registers in a processor?

    Answer:High-speed memory that stores data, instructions, and ALU results.

  78. Question:What is cache memory?

    Answer:Small, fast memory near CPU core; stores frequently used data copies.

  79. Question:What is a single-core processor?

    Answer:One core; performs fetch-decode-execute once per clock cycle; slower.

  80. Question:What is a multi-core processor?

    Answer:Multiple cores on one chip; runs instructions simultaneously; faster for multithreading.

  81. Question:What is hyper-threading?

    Answer:Intel tech making one processor act as two; efficient resource use for multiple threads.

  82. Question:What is SISD in Flynn's classification?

    Answer:Single instruction on single data; uni-core, e.g., traditional PCs.

  83. Question:What is SIMD?

    Answer:Single instruction on multiple data; parallel computations, e.g., vector processing.

  84. Question:What is MISD?

    Answer:Multiple instructions on single data; for fault tolerance, e.g., Space Shuttle.

  85. Question:What is MIMD?

    Answer:Multiple instructions on multiple data; parallel, independent processors; shared/distributed memory.

  86. Question:What is computer memory?

    Answer:Electronic storage for instructions and data needed quickly; essential for function.

  87. Question:What are characteristics of primary memory?

    Answer:Faster than secondary, semiconductor-based, volatile, main memory.

  88. Question:How does computer memory work?

    Answer:Programs load from secondary to primary (RAM) for fast CPU access; volatile, saves to secondary.

  89. Question:What are the three general types of computer memory?

    Answer:Primary, secondary, cache.

  90. Question:What is primary memory?

    Answer:Main memory using semiconductors; stores data/programs during operations; RAM/ROM.

  91. Question:What is RAM?

    Answer:Volatile memory; stores info with power; used for booting and temporary execution data.

  92. Question:What is Static RAM (SRAM)?

    Answer:Uses transistors/flip-flops; retains state with power; faster, less access time.

  93. Question:What is Dynamic RAM (DRAM)?

    Answer:Uses capacitors/transistors; needs refreshing; slower than SRAM.

  94. Question:What is ROM?

    Answer:Non-volatile; stores permanent info for system operation; read-only.

  95. Question:What is Masked ROM (MROM)?

    Answer:Pre-programmed hardware; low-cost, fixed data.

  96. Question:What is PROM?

    Answer:User-modifiable once; blank, programmed with PROM burner.

  97. Question:What is EPROM?

    Answer:Erasable with UV light (40 min); extension of PROM.

  98. Question:What is EEPROM?

    Answer:Electrically erasable/reprogrammable up to 10,000 times; selective areas.

  99. Question:What is secondary memory?

    Answer:Auxiliary, non-volatile; large permanent storage; slower, CPU indirect access.

  100. Question:What are characteristics of secondary memory?

    Answer:Slow but reusable, reliable, cheap, large capacity; system runs without it.

  101. Question:What are magnetic tapes?

    Answer:Plastic film with magnetic coating; sequential access; records bits as patches.

  102. Question:What are magnetic disks?

    Answer:Coated plates; store in tracks/sectors; hard disks fixed, removable like floppies.

  103. Question:What are optical disks?

    Answer:Laser-based; writable/readable; removable, long life, cheap.

  104. Question:What is cache memory's role?

    Answer:High-speed buffer between CPU and main memory; stores frequent data.

  105. Question:What are advantages of cache memory?

    Answer:Faster than main memory, quick access, stores temporary data.

  106. Question:What are disadvantages of cache memory?

    Answer:Expensive due to semiconductors, small size.

  107. Question:How is computer memory measured? Start with bit.

    Answer:Bit: 0 or 1; Byte: 8 bits; KB: 1024 bytes; MB: 1024 KB; GB: 1024 MB; etc.

  108. Question:What is an input device?

    Answer:Hardware that allows users to provide data, info, or instructions to computer.

  109. Question:Name common input devices.

    Answer:Keyboard, Mouse, Joystick, Light pen, Track Ball, Scanner, Microphone, MICR.

  110. Question:What is a keyboard?

    Answer:Popular input device like typewriter; 84-108 keys for data entry.

  111. Question:What is a mouse?

    Answer:Pointing device with ball/sensor; controls cursor; left/right buttons, wheel.

  112. Question:Advantages of a mouse?

    Answer:Easy to use, inexpensive, faster cursor movement than keys.

  113. Question:What is a joystick?

    Answer:Pointing stick with ball ends; moves cursor in four directions; for CAD/games.

  114. Question:What is a light pen?

    Answer:Pen-like pointing device; selects menu/draws on screen via photocell.

  115. Question:What is a track ball?

    Answer:Stationary ball moved by fingers; for laptops; less space than mouse.

  116. Question:What is a scanner?

    Answer:Like photocopier; captures paper images to digital for editing/storage.

  117. Question:What is a microphone as input?

    Answer:Captures sound to digital; for multimedia, music mixing.

  118. Question:What is an output device?

    Answer:Hardware sending data from computer to user or another device.

  119. Question:What is a monitor?

    Answer:Visual output; displays info as soft copy; symbolic/graphical.

  120. Question:What is a printer?

    Answer:Transfers text/graphics to paper; varies by size, speed, cost.

  121. Question:What are speakers?

    Answer:Audio output; reproduce sound from sound card signals.

  122. Question:What is a projector?

    Answer:Projects output to large screen/wall; magnifies text/images.

  123. Question:What is a sound card?

    Answer:Output device for sound production/recording; internal/external.

  124. Question:What is a video card?

    Answer:Processes graphics/video; transfers to display; has VRAM for gaming.

  125. Question:What is an algorithm?

    Answer:A step-by-step procedure for solving a problem using unambiguous instructions executed in sequence to produce output from input in finite time.

  126. Question:From whom is the word 'algorithm' derived?

    Answer:The 9th century Persian mathematician Al-Khwarizmi.

  127. Question:What is the finiteness property of an algorithm?

    Answer:It must terminate after a finite number of steps.

  128. Question:What does definiteness mean for an algorithm?

    Answer:Each step must be precisely and unambiguously defined.

  129. Question:Why must algorithm steps be effective?

    Answer:Each step should be basic, executable exactly in finite time, and convertible to code.

  130. Question:What input/output requirement does an algorithm have?

    Answer:It takes zero or more inputs and produces one or more outputs.

  131. Question:What are the basic building blocks of an algorithm?

    Answer:Statements, control flow, and functions.

  132. Question:What types of statements are used in algorithms?

    Answer:Input data, process data, and output data statements.

  133. Question:What is control flow in algorithms?

    Answer:The sequence in which statements are executed.

  134. Question:What are the three types of control flow?

    Answer:Sequence, selection, and iteration.

  135. Question:What is sequence execution in control flow?

    Answer:Executing instructions one after another in order.

  136. Question:How does selection work in algorithms?

    Answer:Transfers control based on a condition, executing one path if true, another if false.

  137. Question:What is iteration in control flow?

    Answer:Repeating a set of statements based on a condition, also called looping.

  138. Question:What is a function in algorithms?

    Answer:A subprogram with a block of instructions performing a specific task.

  139. Question:What are benefits of using functions in algorithms?

    Answer:Reduces code lines, enables reuse, improves readability, hides information, eases debugging, and enhances maintainability.

  140. Question:What are the five major steps in algorithm development?

    Answer:Obtain problem description, analyze problem, develop high-level algorithm, refine with details, review algorithm.

  141. Question:What is pseudocode?

    Answer:A readable, English-based set of instructions explaining an algorithm without strict syntax.

  142. Question:What are rules for writing pseudocode?

    Answer:One statement per line, capitalize keywords, indent for hierarchy, keep language-independent.

  143. Question:What common keywords are used in pseudocode?

    Answer:BEGIN/END, INPUT/GET/READ, COMPUTE/CALCULATE, OUTPUT/PRINT/DISPLAY, IF/ELSE/ENDIF, WHILE/ENDWHILE/FOR/ENDFOR.

  144. Question:What are advantages of pseudocode?

    Answer:Program-independent, understandable by non-experts, no syntax standards, easy to modify and translate to code.

  145. Question:What are disadvantages of pseudocode?

    Answer:Not visual, no design picture, no standardized format, harder for beginners than flowcharts.

  146. Question:What is a flowchart?

    Answer:A graphical or diagrammatic representation of the problem-solving process in sequential order.

  147. Question:What rules apply to flowcharts?

    Answer:Clear and neat, logical start/finish, one outflow from process, one inflow to decision, brief descriptions, avoid line intersections.

  148. Question:What are advantages of flowcharts?

    Answer:Communicate logic well, analyze problems effectively, good documentation, blueprint for coding, aid debugging.

  149. Question:What are disadvantages of flowcharts?

    Answer:Complex for large programs, hard to modify without redrawing, time-consuming and costly for big applications.

  150. Question:What is the difference between algorithm, flowchart, and pseudocode in representation?

    Answer:Algorithm: step-by-step procedure; Flowchart: graphical; Pseudocode: language-like.

  151. Question:What is iteration in algorithm strategies?

    Answer:Executing a sequence of statements repeatedly until a condition is met.

  152. Question:What is a for loop in iteration?

    Answer:Repeats statements a fixed number of times, often for known iterations like counting.

  153. Question:What is a while loop?

    Answer:Repeats statements as long as a condition remains true, checked before each iteration.

  154. Question:What is recursion?

    Answer:A function that calls itself repeatedly until a base condition is met.

  155. Question:What is the base case in recursion?

    Answer:The condition that stops the recursive calls, preventing infinite loops.

  156. Question:How does recursion differ from iteration in termination?

    Answer:Iteration ends when loop condition fails; recursion ends at base case with no further calls.

  157. Question:What is time complexity?

    Answer:The total time required by an algorithm to run, often as a function T(n) of input size n.

  158. Question:What factors influence algorithm analysis?

    Answer:Efficiency, simplicity, generality, range of growth, computing order of growth.

  159. Question:What is space complexity?

    Answer:The amount of memory space required by an algorithm to run.

  160. Question:What components make up space complexity?

    Answer:Fixed space (constants, instructions) + variable space (input-dependent data).

  161. Question:What is instruction space in space complexity?

    Answer:Memory for compiled instructions, depending on compiler and target machine.

  162. Question:What is data space?

    Answer:Memory for constants, variables, arrays, and other data structures.

  163. Question:What is environment stack space?

    Answer:Stack memory for function calls, including return addresses.

  164. Question:How is constant space complexity exemplified?

    Answer:Fixed memory use, like simple operations on fixed variables (e.g., 20 bytes for int additions).

  165. Question:What is linear space complexity?

    Answer:Memory grows proportionally with input size, like arrays of size n (e.g., 4n + 12 bytes).

  166. Question:What role do algorithms play in fields like cryptography?

    Answer:They provide efficient, secure methods for encoding and decoding data.

  167. Question:Why is pseudocode useful for complex algorithms?

    Answer:It clarifies logic in plain language, uncovering decisions and interactions before coding.

  168. Question:How do flowcharts aid in process planning?

    Answer:They break down steps chronologically, identifying types like decisions and data flows.

  169. Question:What makes recursion suitable for certain problems?

    Answer:It simplifies code for naturally hierarchical tasks, like tree traversals, despite higher time cost.

  170. Question:Why analyze algorithm efficiency?

    Answer:To ensure scalability for larger inputs in real-world applications like machine learning.