Docsity

Praxis Computer Science (5652) Exam, Exams of Education & Teaching

Toggle sidebar
bg1
Praxis Computer Science (5652) Exam
Question 1. Which of the following best describes the role of computing in fostering innovation
across disciplines?
A) Replacing traditional methods entirely
B) Automating repetitive tasks only
C) Providing tools that enable new solutions and creative approaches
D) Limiting problem-solving to predefined algorithms
Answer: C
Explanation: Computing provides tools that enable innovation and creative problem-solving across
various fields by allowing new solutions, modeling, and analysis that were previously impossible or
impractical.
Question 2. Which of the following is an example of computing application in medicine?
A) Developing new surgical techniques without digital tools
B) Using data analytics to predict disease outbreaks
C) Painting medical illustrations manually
D) Using paper records exclusively
Answer: B
Explanation: Data analytics in medicine involves processing large datasets to predict disease
patterns, improving diagnosis and treatment, exemplifying computing's role in healthcare.
Question 3. Ethical principles in computing emphasize the importance of:
A) Ignoring user privacy for functionality
B) Responsible development and use of technology
C) Prioritizing profit over data security
D) Sharing personal data without consent
Answer: B
Explanation: Ethical principles advocate responsible development and use of technology, respecting
privacy, security, and societal impacts.
Question 4. Which concept involves collecting, sharing, and protecting personal data in digital
environments?
A) Data encryption
B) Privacy
C) Open-source licensing
D) Algorithm efficiency
Answer: B
Explanation: Privacy involves protecting personal data from unauthorized collection, sharing, or
access, especially in digital contexts.
Question 5. Which of the following best describes an open-source license?
A) A license that prohibits sharing source code
B) A license that allows free use, modification, and distribution of software
C) A license exclusive to proprietary software
D) A license that prevents any changes to software
Answer: B
Explanation: Open-source licenses permit users to freely use, modify, and distribute software,
fostering collaboration and innovation.
Question 6. What is a common security threat that involves deceptive emails to steal sensitive
information?
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
pf28
pf29
pf2a
pf2b
pf2c

Partial preview of the text

Download Praxis Computer Science (5652) Exam and more Exams Education & Teaching in PDF only on Docsity!

Question 1. Which of the following best describes the role of computing in fostering innovation across disciplines? A) Replacing traditional methods entirely B) Automating repetitive tasks only C) Providing tools that enable new solutions and creative approaches D) Limiting problem-solving to predefined algorithms Answer: C Explanation: Computing provides tools that enable innovation and creative problem-solving across various fields by allowing new solutions, modeling, and analysis that were previously impossible or impractical. Question 2. Which of the following is an example of computing application in medicine? A) Developing new surgical techniques without digital tools B) Using data analytics to predict disease outbreaks C) Painting medical illustrations manually D) Using paper records exclusively Answer: B Explanation: Data analytics in medicine involves processing large datasets to predict disease patterns, improving diagnosis and treatment, exemplifying computing's role in healthcare. Question 3. Ethical principles in computing emphasize the importance of: A) Ignoring user privacy for functionality B) Responsible development and use of technology C) Prioritizing profit over data security D) Sharing personal data without consent Answer: B Explanation: Ethical principles advocate responsible development and use of technology, respecting privacy, security, and societal impacts. Question 4. Which concept involves collecting, sharing, and protecting personal data in digital environments? A) Data encryption B) Privacy C) Open-source licensing D) Algorithm efficiency Answer: B Explanation: Privacy involves protecting personal data from unauthorized collection, sharing, or access, especially in digital contexts. Question 5. Which of the following best describes an open-source license? A) A license that prohibits sharing source code B) A license that allows free use, modification, and distribution of software C) A license exclusive to proprietary software D) A license that prevents any changes to software Answer: B Explanation: Open-source licenses permit users to freely use, modify, and distribute software, fostering collaboration and innovation. Question 6. What is a common security threat that involves deceptive emails to steal sensitive information?

A) Malware B) Phishing C) Man-in-the-middle attack D) Denial-of-service attack Answer: B Explanation: Phishing involves deceptive emails designed to trick users into revealing personal or financial information. Question 7. Which societal issue is associated with unequal access to technology? A) Digital divide B) Algorithmic bias C) Cybersecurity D) Moore's Law Answer: A Explanation: The digital divide refers to disparities in access to technology and the internet among different populations. Question 8. Who is considered one of the pioneering figures in the development of early computing? A) Alan Turing B) Bill Gates C) Steve Jobs D) Mark Zuckerberg Answer: A Explanation: Alan Turing was a foundational figure in computer science, known for his work on theoretical computation and the Turing machine. Question 9. Which of the following is a current trend in computing technology? A) Vacuum tube computers B) Cloud computing C) Mechanical calculators D) Analog computers Answer: B Explanation: Cloud computing is a current trend enabling on-demand access to shared computing resources over the internet. Question 10. Computational thinking involves which of the following skills? A) Memorization of algorithms B) Creativity in hardware design C) Abstraction, pattern recognition, problem decomposition, and algorithm design D) Manual problem-solving without digital tools Answer: C Explanation: Computational thinking encompasses abstraction, pattern recognition, problem decomposition, and algorithm development for effective problem-solving. Question 11. Abstraction in computational thinking refers to: A) Making problems more complex B) Ignoring irrelevant details and focusing on essential characteristics C) Increasing the number of variables D) Replacing algorithms with heuristics Answer: B

B) Stack C) Array D) Tree Answer: B Explanation: A stack follows LIFO, where the most recently added element is removed first. Question 18. In object-oriented programming, encapsulation refers to: A) Combining data and functions into a single object B) Hiding internal details and exposing only necessary parts C) Creating multiple instances of a class D) Inheriting properties from parent classes Answer: B Explanation: Encapsulation involves hiding internal implementation details and exposing a controlled interface. Question 19. Which programming paradigm emphasizes functions as first-class citizens? A) Procedural programming B) Object-oriented programming C) Functional programming D) Assembly programming Answer: C Explanation: Functional programming treats functions as first-class citizens, allowing them to be passed as arguments and returned from other functions. Question 20. In programming, a syntax error occurs when: A) The code produces incorrect output B) The code violates language rules, preventing compilation or interpretation C) The code runs but produces wrong results D) The program crashes at runtime Answer: B Explanation: Syntax errors are violations of the programming language's rules, preventing code from being compiled or interpreted. Question 21. Modularity in programming refers to: A) Writing monolithic code B) Dividing code into independent, reusable modules C) Hardcoding values throughout the program D) Avoiding code reuse Answer: B Explanation: Modularity involves dividing programs into independent modules or components for easier maintenance and reuse. Question 22. Which of the following best describes procedural programming? A) Emphasizing objects and classes B) Focusing on sequences of procedures or routines C) Using only functions without procedures D) Programming without control structures Answer: B Explanation: Procedural programming structures code around procedures or routines that execute sequentially.

Question 23. Which data type is most suitable for storing true/false values? A) Integer B) String C) Boolean D) Float Answer: C Explanation: Boolean data type specifically represents true/false logical values. Question 24. The ASCII encoding scheme assigns each character a: A) Unique integer code B) Unique floating-point number C) Unique binary floating-point representation D) Unique hexadecimal code only Answer: A Explanation: ASCII assigns each character a unique 7-bit integer code, which can be represented in binary. Question 25. Which of the following best describes the purpose of a database? A) To store data in a structured way for efficient retrieval and management B) To execute computer programs C) To compile source code D) To connect computers over a network Answer: A Explanation: Databases organize data systematically, enabling efficient storage, retrieval, and management. Question 26. In relational databases, a table is composed of: A) Files and directories B) Records, fields, and relationships C) Packets and protocols D) Nodes and edges Answer: B Explanation: Tables contain records (rows) and fields (columns), and relationships link different tables. Question 27. Which file organization method arranges files in a sequential order? A) Sequential access B) Random access C) Indexed access D) Direct access Answer: A Explanation: Sequential access reads data in sequence, suitable for processing files stored sequentially. Question 28. Data validation primarily aims to: A) Encrypt data B) Ensure data accuracy and integrity C) Compress data D) Visualize data Answer: B

D) Develop user interfaces Answer: B Explanation: Operating systems coordinate hardware resources and provide services for software applications. Question 35. Which component is considered the brain of a computer system? A) RAM B) CPU C) Hard drive D) Power supply Answer: B Explanation: The CPU (Central Processing Unit) executes instructions and manages processing tasks, earning the title "brain" of the computer. Question 36. Which device is responsible for connecting multiple computers within a local area network? A) Router B) Switch C) Modem D) Firewall Answer: B Explanation: Switches connect multiple devices within a LAN, managing data traffic efficiently. Question 37. In networking, TCP/IP refers to: A) Transmission Control Protocol/Internet Protocol B) Transfer Communication Protocol C) Total Connection Protocol D) Terminal Communication Protocol Answer: A Explanation: TCP/IP is the fundamental suite of protocols governing data transmission over the internet. Question 38. Cloud computing service models include all EXCEPT: A) SaaS B) PaaS C) IaaS D) RaaS Answer: D Explanation: RaaS (Recovery as a Service) is not a standard cloud service model; the main models are SaaS, PaaS, and IaaS. Question 39. Which of the following best describes the concept of virtualization in computing? A) Physical separation of hardware B) Running multiple virtual machines on a single physical hardware C) Using hardware without an operating system D) Building physical servers Answer: B Explanation: Virtualization allows multiple virtual machines to run on a single physical hardware, optimizing resource use.

Question 40. Which type of malware is designed to replicate itself and spread to other systems? A) Virus B) Worm C) Trojan horse D) Ransomware Answer: B Explanation: Worms are malware that self-replicate and spread across networks independently. Question 41. Which programming language is primarily used for web development? A) Java B) HTML C) C++ D) Python Answer: B Explanation: HTML (Hypertext Markup Language) is used to structure and present content on the web. Question 42. Which control structure allows a program to choose between different paths based on conditions? A) Loop B) Conditional (if-else) C) Function call D) Variable assignment Answer: B Explanation: Conditional statements like if-else direct program flow based on evaluated conditions. Question 43. In software development, debugging is the process of: A) Writing new code B) Identifying and fixing errors in code C) Compiling source code D) Designing user interfaces Answer: B Explanation: Debugging involves locating and correcting errors or bugs in software code. Question 44. Which programming paradigm emphasizes objects and classes? A) Procedural programming B) Object-oriented programming C) Functional programming D) Assembly programming Answer: B Explanation: Object-oriented programming focuses on objects, classes, inheritance, encapsulation, and polymorphism. Question 45. When a function calls itself to solve a problem, it is an example of: A) Iteration B) Recursion C) Modularization D) Polymorphism Answer: B

B) Managing hardware resources and providing user interface C) Designing network hardware D) Developing application software Answer: B Explanation: Operating systems manage hardware resources and provide services such as user interfaces and process management. Question 52. Which component of a computer system is responsible for executing instructions? A) RAM B) CPU C) Hard disk D) Power supply Answer: B Explanation: The CPU executes instructions and performs processing tasks. Question 53. Which network device forwards data packets based on IP addresses? A) Switch B) Router C) Hub D) Modem Answer: B Explanation: Routers direct data packets between networks based on IP addresses. Question 54. Which protocol is used to resolve domain names to IP addresses? A) TCP B) DNS C) HTTP D) FTP Answer: B Explanation: DNS (Domain Name System) translates human-readable domain names into IP addresses. Question 55. Which type of network topology involves all devices connected in a closed loop? A) Star B) Bus C) Ring D) Mesh Answer: C Explanation: Ring topology connects each device to two neighbors, forming a closed loop. Question 56. Which of the following best describes cloud storage? A) On-premise physical storage B) Storage over the internet provided by third-party services C) Local hard drive storage only D) Storage exclusively for enterprise use Answer: B Explanation: Cloud storage involves storing data on remote servers accessed via the internet. Question 57. Which of the following is an example of an IaaS cloud service model? A) Google Workspace

B) Amazon EC C) Salesforce D) Dropbox Answer: B Explanation: Amazon EC2 provides infrastructure as a service (IaaS), offering virtual servers and storage. Question 58. Virtualization allows multiple operating systems to run on a single physical machine through: A) Hardware partitioning B) Software emulation C) Virtual machines D) Physical separation Answer: C Explanation: Virtualization uses virtual machines to run multiple operating systems on a single physical hardware. Question 59. Which type of malware encrypts user files and demands payment for decryption? A) Virus B) Worm C) Ransomware D) Trojan Answer: C Explanation: Ransomware encrypts files and demands payment for the decryption key. Question 60. Which programming language is often used for system and application software development? A) Python B) Assembly C) C D) HTML Answer: C Explanation: C is widely used for developing system and application software due to its efficiency and low-level hardware access. Question 61. Which control structure executes a block of code repeatedly while a condition is true? A) if-else B) for loop / while loop C) switch-case D) break statement Answer: B Explanation: Loops like for and while repeatedly execute code blocks as long as the specified condition remains true. Question 62. Debugging techniques include all of the following EXCEPT: A) Using print statements B) Stepping through code with a debugger C) Ignoring errors and proceeding D) Checking variable values Answer: C

Answer: C Explanation: Relational databases are based on tables and relationships, not hierarchical structures. Question 69. Which component of a computer system manages the execution of processes? A) RAM B) Operating system C) CPU cache D) Storage device Answer: B Explanation: The operating system manages process scheduling, execution, and resource allocation. Question 70. Which network device connects different networks and routes data packets accordingly? A) Switch B) Router C) Hub D) Bridge Answer: B Explanation: Routers connect different networks and route data based on IP addresses. Question 71. What does the TCP protocol ensure in data transmission? A) Data encryption B) Reliable, ordered delivery of packets C) Faster transmission speeds D) Data compression Answer: B Explanation: TCP provides reliable, ordered, and error-checked delivery of data packets over the network. Question 72. Which cloud service deployment model involves using a private cloud infrastructure? A) Public cloud B) Private cloud C) Hybrid cloud D) Community cloud Answer: B Explanation: Private clouds are dedicated to a single organization, offering greater control and security. Question 73. Which of the following best describes the purpose of a firewall? A) To connect multiple computers B) To block unauthorized access to or from a private network C) To speed up internet connections D) To store data securely Answer: B Explanation: Firewalls monitor and control incoming and outgoing network traffic based on security rules. Question 74. Which type of malware disguises itself as legitimate software? A) Virus B) Worm

C) Trojan horse D) Ransomware Answer: C Explanation: Trojan horses appear as genuine software but contain malicious code. Question 75. Which programming concept allows a function to operate differently based on the data types of its input? A) Polymorphism B) Encapsulation C) Inheritance D) Abstraction Answer: A Explanation: Polymorphism enables functions or methods to process objects differently based on their data types. Question 76. Which of the following best describes the use of parameters in functions? A) To store data permanently B) To pass information to functions for processing C) To initialize class variables D) To execute loops Answer: B Explanation: Parameters are used to send data into functions to customize their behavior. Question 77. Which algorithm is typically used for sorting small datasets efficiently? A) Bubble sort B) Merge sort C) Quick sort D) Insertion sort Answer: D Explanation: Insertion sort performs well on small or nearly sorted datasets due to its simplicity. Question 78. Which data structure is best suited for implementing hierarchical data? A) Array B) Tree C) Queue D) Graph Answer: B Explanation: Trees naturally represent hierarchical relationships, such as organization charts or file systems. Question 79. Which number system is used internally by computers? A) Decimal B) Binary C) Hexadecimal D) Octal Answer: B Explanation: Computers operate using binary (base-2), representing data as bits. Question 80. In digital audio representation, sound is stored as: A) Binary sequences representing amplitude over time

Question 86. Which hardware component is responsible for temporary data storage that the CPU can access quickly? A) Hard drive B) RAM C) ROM D) Cache Answer: D Explanation: Cache provides fast, temporary storage for frequently accessed data by the CPU. Question 87. Which of the following is an example of a high-level programming language? A) Assembly B) C C) Python D) Machine code Answer: C Explanation: Python is a high-level, human-readable programming language, simplifying software development. Question 88. Which control structure is used to execute code repeatedly based on a condition evaluated before each iteration? A) do-while loop B) for loop C) if statement D) switch-case Answer: B Explanation: A for loop evaluates the condition before each iteration, executing as long as the condition is true. Question 89. Which type of software is designed to perform specific tasks for users? A) Operating system B) Utility software C) Application software D) System software Answer: C Explanation: Application software performs specific tasks like word processing, spreadsheets, or media editing. Question 90. Which of the following best describes the function of a compiler? A) Translates high-level code into machine code B) Executes code directly C) Interprets code line-by-line D) Manages hardware resources Answer: A Explanation: A compiler translates high-level programming language into machine code before execution. Question 91. Which data structure allows efficient insertion and deletion at both ends? A) Array B) Queue C) Stack

D) Deque (Double-Ended Queue) Answer: D Explanation: A deque allows insertion and deletion from both ends efficiently. Question 92. Which number system is commonly used to represent color values in digital images? A) Binary B) Decimal C) Hexadecimal D) Octal Answer: C Explanation: Hexadecimal is used to represent RGB color values compactly, e.g., #FFFFFF for white. Question 93. Which of the following best describes the purpose of data visualization? A) To store large amounts of data B) To present data in graphical formats for easier interpretation C) To encrypt data for security D) To validate data accuracy Answer: B Explanation: Data visualization helps interpret complex data by representing it graphically, revealing insights. Question 94. Which protocol is used to transfer files over a network? A) HTTP B) FTP C) SMTP D) DNS Answer: B Explanation: FTP (File Transfer Protocol) is used for transferring files between computers over a network. Question 95. Which of the following best describes the concept of a virtual machine? A) A physical computer system B) An emulated computer system running on host hardware C) A network device D) A type of data storage Answer: B Explanation: Virtual machines emulate hardware, allowing multiple OS environments on a single physical host. Question 96. Which type of malware encrypts data and demands payment for decryption? A) Virus B) Ransomware C) Worm D) Trojan Answer: B Explanation: Ransomware encrypts victim data and demands payment for decryption keys. Question 97. Which programming paradigm emphasizes functions without side effects and immutable data? A) Procedural programming

Question 103. Which of the following best describes a peer-to-peer network? A) All devices are connected to a central server B) Devices communicate directly with each other without a central server C) Devices are connected in a hierarchical structure D) Devices are connected only via routers Answer: B Explanation: Peer-to-peer networks allow devices to communicate directly without relying on a central server. Question 104. Which of the following is an example of a high-level programming language? A) Assembly B) Python C) Machine code D) Binary Answer: B Explanation: Python is a high-level, human-readable language that abstracts hardware details. Question 105. Which control structure is most appropriate for executing a block of code repeatedly while a condition remains true? A) if-else B) for or while loop C) switch-case D) break statement Answer: B Explanation: Loops like for and while execute repeatedly based on a condition. Question 106. Which of the following is NOT a common data structure? A) Array B) Linked list C) Tree D) Compiler Answer: D Explanation: A compiler is a software tool, not a data structure. Question 107. Which number system is most compact for representing large binary data? A) Decimal B) Hexadecimal C) Octal D) Binary Answer: B Explanation: Hexadecimal provides a compact representation of binary data due to its base- 16 structure. Question 108. Which of the following best describes data encryption? A) Converting data into a secret code to prevent unauthorized access B) Combining multiple data files into one C) Visualizing data in graphs D) Validating data accuracy Answer: A

Explanation: Encryption transforms data into a code to ensure confidentiality and prevent unauthorized access. Question 109. Which of the following best describes a function in programming? A) A reusable block of code that performs a specific task B) A variable that stores data C) A data structure for organizing information D) A process for debugging code Answer: A Explanation: Functions are reusable code blocks that perform specific operations and can be invoked multiple times. Question 110. Which of the following best describes the concept of inheritance in object-oriented programming? A) A class deriving properties and behaviors from a parent class B) Encapsulating data within objects C) Overloading functions with different parameters D) Creating multiple instances of a class Answer: A Explanation: Inheritance allows a class (child) to acquire properties and methods from a parent class, promoting code reuse. Question 111. Which sorting algorithm is known for its divide-and-conquer approach and efficiency with large datasets? A) Bubble sort B) Selection sort C) Merge sort D) Insertion sort Answer: C Explanation: Merge sort uses divide-and-conquer, splitting data into smaller parts, sorting, and then merging. Question 112. Which data structure is most suitable for modeling relationships in social networks? A) Array B) Graph C) Stack D) Queue Answer: B Explanation: Graphs represent relationships and connections between entities, making them ideal for social networks. Question 113. Which number system is base 2? A) Binary B) Decimal C) Hexadecimal D) Octal Answer: A Explanation: Binary is base 2, using only digits 0 and 1.