




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which programming paradigm emphasizes the use of objects and classes to organize code? A) Procedural programming B) Functional programming C) Object-oriented programming D) Logical programming Answer: C Explanation: Object-oriented programming (OOP) focuses on organizing code around objects and classes, enabling encapsulation, inheritance, and polymorphism. Question 2. In software development, which phase involves creating the detailed blueprint of the system, including architecture and interface design? A) Analysis B) Design C) Implementation D) Maintenance Answer: B
Explanation: The design phase involves creating detailed plans for the system architecture, interfaces, and components before coding begins. Question 3. Which data structure is best suited for implementing a last- in, first-out (LIFO) collection? A) Queue B) Stack C) Linked list D) Array Answer: B Explanation: A stack operates on the LIFO principle, where the most recently added item is the first to be removed. Question 4. What does Big-O notation primarily describe in algorithms? A) The actual runtime of an algorithm B) The space complexity of an algorithm C) The upper bound of an algorithm's growth rate D) The minimum number of steps an algorithm takes Answer: C
Answer: C Explanation: Python is widely used in data science and machine learning due to its simplicity, extensive libraries (like NumPy, pandas, scikit-learn), and community support. Question 7. Which phase of the SDLC involves translating system specifications into actual code? A) Design B) Implementation C) Testing D) Analysis Answer: B Explanation: The implementation phase involves coding and developing the application based on the detailed design specifications. Question 8. Which web technology is primarily responsible for structuring content on the web? A) HTML B) CSS C) JavaScript
Answer: A Explanation: HTML (HyperText Markup Language) structures the content on web pages, defining elements like headings, paragraphs, and links. Question 9. Which JavaScript framework is primarily used for building single-page applications with reactive interfaces? A) Django B) React C) Flask D) AngularJS Answer: B Explanation: React is a popular JavaScript library for building dynamic, single-page applications with reactive and component-based architecture. Question 10. In database programming, which SQL command is used to retrieve data from a table? A) INSERT
A) They generate native code only for Android B) They allow writing code once and deploying on multiple platforms C) They require separate codebases for each platform D) They are only suitable for web applications Answer: B Explanation: Cross-platform frameworks enable developers to write a single codebase that can be compiled or interpreted to run on multiple mobile platforms, saving development time. Question 13. Which testing methodology involves writing tests before code development begins? A) Manual testing B) Integration testing C) Test-Driven Development (TDD) D) System testing Answer: C Explanation: TDD emphasizes writing automated tests before implementing the actual code, promoting better test coverage and design.
Question 14. Which version control system is most widely used for collaborative software development? A) SVN B) Git C) Mercurial D) CVS Answer: B Explanation: Git is the most popular distributed version control system, supporting branching, merging, and collaborative workflows. Question 15. Which security threat exploits vulnerabilities in input validation to execute malicious code? A) SQL Injection B) Cross-Site Scripting (XSS) C) Buffer Overflow D) Man-in-the-Middle Attack Answer: B Explanation: Cross-Site Scripting (XSS) involves injecting malicious scripts into web pages viewed by other users, exploiting poor input validation.
Explanation: CI/CD refers to practices of automatically integrating code changes and deploying updates frequently and reliably. Question 18. Which emerging technology involves the use of distributed ledger systems to ensure data integrity and transparency? A) Artificial Intelligence B) Blockchain C) IoT D) Cloud Computing Answer: B Explanation: Blockchain technology uses distributed ledger systems to secure, verify, and record transactions transparently without a central authority. Question 19. Which cloud service model provides infrastructure resources like virtual machines and storage? A) SaaS B) PaaS C) IaaS D) FaaS
Answer: C Explanation: Infrastructure as a Service (IaaS) offers virtualized hardware resources, allowing flexible management of storage, networking, and computing power. Question 20. In web development, which protocol is stateless and used for communication between client and server? A) FTP B) SMTP C) HTTP D) TCP/IP Answer: C Explanation: HTTP (HyperText Transfer Protocol) is stateless and is the foundation of data communication for the web, enabling client-server interactions. Question 21. Which concept in OOP allows a subclass to provide a specific implementation of a method defined in its superclass? A) Encapsulation B) Inheritance
B) Java C) Objective-C D) C# Answer: B Explanation: Java has been the traditional primary language for Android app development, supported by the Android SDK. Question 24. Which principle of UI/UX design emphasizes creating interfaces that are easy to understand and use? A) Aesthetics B) Consistency C) Usability D) Flexibility Answer: C Explanation: Usability focuses on designing interfaces that are intuitive, efficient, and satisfying for users. Question 25. Which type of testing verifies that different components of an application work together correctly?
A) Unit testing B) Integration testing C) System testing D) Acceptance testing Answer: B Explanation: Integration testing checks the interactions between multiple components to ensure they function correctly as a whole. Question 26. In SQL, which command is used to modify existing data in a table? A) SELECT B) UPDATE C) INSERT D) DELETE Answer: B Explanation: The UPDATE statement modifies existing records in a database table based on specified conditions.
Explanation: ORM allows developers to interact with databases using object-oriented code, abstracting SQL and simplifying data manipulation. Question 29. Which platform-specific tool is used for developing iOS applications? A) Android Studio B) Visual Studio Code C) Xcode D) Eclipse Answer: C Explanation: Xcode is Apple's official IDE used for developing iOS and macOS applications using Swift or Objective-C. Question 30. Which programming language is traditionally used for server-side web development with frameworks like Django and Flask? A) JavaScript B) PHP C) Python D) Ruby
Answer: C Explanation: Python is used for server-side development with frameworks like Django and Flask, enabling rapid and secure web application development. Question 31. Which technique is fundamental for preventing SQL injection attacks? A) Input validation and parameterized queries B) Using only SELECT statements C) Disabling user input fields D) Encrypting database files Answer: A Explanation: Input validation and parameterized queries prevent malicious input from executing unintended SQL commands, protecting against SQL injection. Question 32. Which principle of OOP allows a class to inherit properties and behaviors from another class? A) Encapsulation B) Inheritance
B) Using SQL queries C) Using compiler error messages D) Using static code analyzers only Answer: A Explanation: Browser developer tools (like Chrome DevTools) are essential for debugging, inspecting, and profiling JavaScript code. Question 35. Which version control command creates a new branch in Git? A) git merge B) git branch C) git clone D) git commit Answer: B Explanation: 'git branch' is used to create, list, or delete branches in Git, facilitating parallel development. Question 36. What is the primary purpose of application security practices?
A) To improve performance B) To protect systems against threats and vulnerabilities C) To make applications run faster D) To enhance user interface design Answer: B Explanation: Application security aims to identify and mitigate vulnerabilities, protecting data and systems from threats. Question 37. Which cloud computing service provides a platform for developing, running, and managing applications without managing infrastructure? A) IaaS B) PaaS C) SaaS D) FaaS Answer: B Explanation: Platform as a Service (PaaS) offers a development environment and tools for building and deploying applications without managing underlying infrastructure.