Computer science document, Exams of Computer Science

This is a computer science document of 2026 and can reary help even in revision

Typology: Exams

2025/2026

Available from 01/07/2026

Professor_dominic
Professor_dominic 🇺🇸

63 documents

1 / 20

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computer science Exam
47 questions ready
1A software development team is facing issues with overlapping responsibilities
among team members. What agile practice could they adopt to clarify roles?
ADaily Stand-ups
BPair Programming
CSprint Retrospectives
DRole Definition Workshops
Explanation: Role Definition Workshops help clarify responsibilities, ensuring everyone
understands their individual contributions.
2In a cloud computing scenario, which service model allows users to manage
applications and data without worrying about the underlying infrastructure?
AInfrastructure as a Service (IaaS)
BPlatform as a Service (PaaS)
CSoftware as a Service (SaaS)
DFunction as a Service (FaaS)
Explanation: PaaS provides a platform allowing users to develop, run, and manage
applications without the complexity of building and maintaining the underlying
infrastructure.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Computer science document and more Exams Computer Science in PDF only on Docsity!

Computer science Exam

47 questions ready

1 A software development team is facing issues with overlapping responsibilities among team members. What agile practice could they adopt to clarify roles?

A Daily Stand-ups

B Pair Programming

C Sprint Retrospectives

D Role Definition Workshops

Explanation: Role Definition Workshops help clarify responsibilities, ensuring everyone understands their individual contributions.

2 In a cloud computing scenario, which service model allows users to manage applications and data without worrying about the underlying infrastructure?

A Infrastructure as a Service (IaaS)

B Platform as a Service (PaaS)

C Software as a Service (SaaS)

D Function as a Service (FaaS)

Explanation: PaaS provides a platform allowing users to develop, run, and manage applications without the complexity of building and maintaining the underlying infrastructure.

3 You are tasked with optimizing a database that shows slow performance. Which indexing strategy would most likely improve query performance?

A Full Table Scans

B Clustered Indexing

C Randomized Indexing

D Sequential Indexing

Explanation: Clustered indexing organizes the data in the table based on the index, improving retrieval times for queries.

4 A company wants to ensure that sensitive data is not exposed during data transmission. Which protocol would be most appropriate for this purpose?

A FTP

B HTTP

C SSH

D HTTPS

Explanation: HTTPS encrypts the data transmitted, providing a secure communication channel over the internet.

5 A developer is creating a web application that needs to function offline. Which technology should be implemented to cache web resources?

A Service Workers

B AJAX Calls

C WebSockets

8 A company is implementing a new CRM system and wants to ensure successful adoption by its employees. What strategy should they prioritize?

A Technical Documentation

B User Training Programs

C Software Updates

D Data Migration

Explanation: User Training Programs are essential for helping employees understand and effectively use the new CRM system.

9 In a software development project, which document outlines the testing strategy and objectives?

A Requirement Specification Document

B Test Plan

C Design Document

D Project Charter

Explanation: A Test Plan details the testing strategy, objectives, resources, and schedule for testing activities.

10 Which type of algorithm is best suited for classifying emails as 'spam' or 'not spam'?

A Sorting Algorithm

B Clustering Algorithm

C Classification Algorithm

D Search Algorithm

Explanation: Classification Algorithms are designed to categorize data into predefined classes, such as spam or not spam.

11 During a security audit, a company's IT team finds that several user accounts have weak passwords. What is the best practice they should implement?

A Password Complexity Requirements

B Password Expiration Policies

C Two-Factor Authentication

D User Education on Passwords

Explanation: Implementing Password Complexity Requirements ensures that users create strong passwords that are difficult to guess.

12 A software engineer must choose a suitable data structure for implementing a queue. Which of the following would be the best choice?

A Array

B Linked List

C Stack

D Hash Table

Explanation: A Linked List is ideal for implementing a queue as it allows for dynamic memory allocation and efficient enqueue and dequeue operations.

D No need for customer involvement

Explanation: Agile methodology allows for iterative development and greater adaptability to changing requirements.

16 A company is analyzing user data to improve its product. Which of the following techniques would be most suitable for finding patterns in large datasets?

A Static code analysis

B Machine learning algorithms

C Manual data entry

D Waterfall model

Explanation: Machine learning algorithms are designed to identify patterns in large datasets effectively.

17 Which of the following is an example of a cloud service model that provides virtualized computing resources over the internet?

A PaaS

B IaaS

C SaaS

D DaaS

Explanation: IaaS (Infrastructure as a Service) offers virtualized computing resources over the internet.

18 A web application is experiencing slow response times. What method can a developer use to identify performance bottlenecks?

A Code obfuscation

B Profiling tools

C Version control systems

D Static analysis

Explanation: Profiling tools help developers analyze the performance of applications and identify slow parts of the code.

19 In the context of cybersecurity, what does the term 'phishing' refer to?

A A type of malware that steals data

B A technique used to obtain sensitive information by masquerading as a

trustworthy entity

C An encryption method for secure communications

D A firewall configuration

Explanation: Phishing involves tricking users into providing sensitive information by pretending to be a legitimate source.

20 During a code review, a developer notices that a function is performing redundant computations. What is the best practice to optimize this function?

A Increase the function's complexity

B Introduce caching mechanisms

C Remove all comments from the code

23 A developer is implementing a responsive design for a website. What is a key feature they should focus on?

A Fixed pixel dimensions for all elements

B Flexibility to adapt to different screen sizes

C Use of only desktop layouts

D Static content without media queries

Explanation: Responsive design must be flexible to provide an optimal viewing experience across various devices.

24 What is the function of a load balancer in a web application architecture?

A To store large amounts of data

B To distribute network or application traffic across multiple servers

C To encrypt sensitive data

D To create backup copies of data

Explanation: A load balancer spreads incoming traffic across multiple servers to ensure no single server becomes overwhelmed.

25 Which of the following best describes the principle of 'least privilege' in access control?

A Users should have unlimited access to all data

B Users should have the minimum level of access necessary to perform their job

functions

C All users should be administrators

D Access should be granted based on user popularity

Explanation: The principle of least privilege ensures that users only have access to the resources necessary for their roles.

26 In the context of databases, what is an 'index' used for?

A To increase redundancy of data

B To speed up the retrieval of rows from a database table

C To ensure data integrity

D To store backup copies of the database

Explanation: An index improves the speed of data retrieval operations on a database table.

27 A team is tasked with migrating a legacy system to a modern platform. Which approach can help ensure minimal disruption during the transition?

A Big bang migration

B Phased migration

C Complete system overhaul

D Ignoring user feedback

Explanation: Phased migration allows for incremental changes, reducing the risk of major disruptions.

D To manage user permissions on a network

Explanation: A firewall is a network security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules.

31 A company is analyzing customer data to predict future buying behaviors. Which type of machine learning technique are they likely using?

A Supervised learning

B Reinforcement learning

C Unsupervised learning

D Deep learning

Explanation: Supervised learning uses labeled datasets to train algorithms, making it suitable for predicting future outcomes based on historical data.

32 In a distributed database system, what is a potential challenge regarding data consistency?

A Data redundancy across multiple locations

B Slower data retrieval speeds

C Difficulty in maintaining up-to-date copies of data across nodes

D Increased security breaches

Explanation: In distributed databases, ensuring that all copies of data are consistent and up-to-date can be challenging due to latency and synchronization issues.

33 A web application is designed to handle a large number of concurrent users. Which architectural pattern is most suitable for this scenario?

A Monolithic architecture

B Microservices architecture

C Layered architecture

D Event-driven architecture

Explanation: Microservices architecture allows for better scalability and management of large applications by breaking them into smaller, independently deployable services.

34 A team is implementing a new feature in a large codebase. To ensure that the new code does not break existing functionality, they should use which of the following practices?

A Code refactoring

B Automated testing

C Manual testing only

D Feature branching

Explanation: Automated testing helps catch issues early by running tests against the entire codebase whenever changes are made, ensuring existing functionality remains intact.

D The encryption of data in transit

Explanation: Elasticity in cloud computing allows resources to be dynamically allocated or deallocated based on current workload demands.

38 A company is concerned about the potential for data loss due to hardware failures. What strategy should they implement to mitigate this risk?

A Regular software updates

B Data encryption

C Data redundancy through backups

D Increased internet bandwidth

Explanation: Implementing data redundancy through regular backups ensures that in the event of hardware failure, data can be restored from a secure copy.

39 In the context of database management systems, what does normalization achieve?

A Increased data redundancy

B Improved performance due to fewer data anomalies

C Simplified data retrieval processes

D Reduced security risks

Explanation: Normalization reduces data anomalies and redundancy by organizing data into related tables, improving overall database performance.

40 What is the primary objective of using a version control system in software development?

A To automate the deployment process

B To track changes in code and manage collaboration among developers

C To reduce the need for testing

D To create user documentation

Explanation: A version control system helps developers track changes to the code and manage collaboration, allowing multiple developers to work on the same project without conflicts.

41 A startup wants to launch a mobile app but has limited resources. Which development approach could help them get to market quickly?

A Native app development

B Progressive web app development

C Hybrid app development

D Desktop app development

Explanation: Hybrid app development combines elements of both native and web applications, allowing for quicker deployment across multiple platforms with fewer resources.

42 Which of the following is a common use case for blockchain technology?

A Managing large-scale server farms

B Creating decentralized applications with secure transactions

C Providing video streaming services

45 In a recent project, a team used a cloud-based database service for their application. Which of the following advantages does using a cloud database provide?

A Enhanced scalability

B Increased hardware costs

C Limited access to data

D Mandatory on-premises backups

Explanation: Cloud databases offer enhanced scalability, allowing businesses to adjust their storage and computational resources based on demand without significant hardware investments.

46 A company is designing a new mobile application and aims to enhance user experience by minimizing load times. Which optimization technique should they prioritize?

A Image Compression

B Increased server capacity

C Adding more features

D Using fewer APIs

Explanation: Image Compression reduces the size of images, which can significantly decrease load times, thereby enhancing user experience without compromising on functionality.

47 During a code review, a developer notices that a piece of code is using a for loop to iterate through a collection, while a more efficient method exists. What is the alternative method that could improve performance?

A Using a map function

B Utilizing a while loop

C Implementing a nested loop

D Rewriting the loop in assembly language

Explanation: Using a map function allows for more concise and potentially faster iterations over collections, as it abstracts the loop and optimizes function calls.