












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Computer science mid level examination
Typology: Exams
1 / 20
This page cannot be seen from the preview
Don't miss anything!













49 questions ready
A Faster delivery of functional software
B Less need for customer interaction
C More comprehensive documentation
D Rigid project scope definition
Explanation: Agile methodology focuses on iterative development and encourages regular feedback, leading to quicker delivery of functional software.
A To uniquely identify a record in a table
B To create a relationship between two tables
C To enforce data integrity in a single table
D To store large binary objects
Explanation: A foreign key is used to link two tables together, establishing a relationship between them.
A The server is overloaded
B The requested resource does not exist
C There is a permissions issue
D The server is down for maintenance
Explanation: A '404 Not Found' error means that the server could not find the requested resource, typically because it does not exist.
A Standard deviation calculation
B Z-score normalization
C Mean imputation
D Median calculation
Explanation: Z-score normalization helps identify how far a data point is from the mean, making it effective for handling outliers.
A A method to protect sensitive data
B A technique for monitoring network traffic
C A fraudulent attempt to obtain sensitive information
A Local storage of all data
B On-demand network access to shared resources
C Permanent hardware installation
D Fixed pricing model
Explanation: Cloud computing allows users to access shared resources over the network on-demand, providing flexibility and scalability.
A Linear search
B Binary search
C Depth-first search
D Breadth-first search
Explanation: Binary search is more efficient on sorted lists as it repeatedly divides the search interval in half.
A Volume
B Velocity
C Variety
D Simplicity
Explanation: Simplicity is not one of the key characteristics of big data; the main characteristics are volume, velocity, and variety.
A Easier deployment of the entire application
B Increased team dependency on each service
C Better scalability and maintainability of individual services
D Reduced need for automated testing
Explanation: Microservices architecture allows individual services to be scaled and maintained independently, improving overall system flexibility.
A To execute code directly
B To convert high-level code to machine code
C To debug code
D To manage memory allocation
Explanation: A compiler translates high-level programming languages into machine code, which can then be executed by the computer.
D Increase the budget to add more developers.
Explanation: Regular refactoring helps to manage technical debt and improve the code quality over time.
A Easier fault isolation and recovery.
B Increased complexity in service management.
C Improved scalability of individual services.
D Faster deployment cycles for new features.
Explanation: Microservices can lead to increased complexity due to the need for managing multiple services and their interactions.
A Supervised learning with regression.
B Unsupervised learning with clustering.
C Reinforcement learning with user feedback.
D Collaborative filtering with user behavior data.
Explanation: Collaborative filtering is commonly used in recommendation systems to suggest products based on user behavior.
A Minifying CSS and JavaScript files.
B Implementing lazy loading for images.
C Increasing server capacity without code changes.
D Using a content delivery network (CDN).
Explanation: Increasing server capacity alone does not address potential inefficiencies in the application code or assets.
A UDP (User Datagram Protocol)
B FTP (File Transfer Protocol)
C TCP (Transmission Control Protocol)
D HTTP (Hypertext Transfer Protocol)
Explanation: TCP is designed to ensure reliable transmission of data, including error checking and retransmission of lost packets.
A Use a single backup every month.
B Implement a transaction log.
C Store data only in memory.
A Increase the number of developers.
B Implement automated testing.
C Limit testing to only critical features.
D Reduce the development timeline.
Explanation: Automated testing helps catch bugs early in the development process, improving software quality.
A Emphasis on comprehensive documentation.
B Flexibility to adapt to changes quickly.
C Strict adherence to a predefined plan.
D Faster development of all features at once.
Explanation: Agile methodologies prioritize adaptability and responsiveness to changes throughout the development process.
A Relational databases.
B NoSQL databases.
C Excel spreadsheets.
D Data warehouses.
Explanation: NoSQL databases are designed to handle unstructured and semi-structured data, making them ideal for such analysis.
A Notify users to change their passwords.
B Shut down the entire network.
C Implement a new firewall.
D Ignore the breach if no sensitive data was exposed.
Explanation: Notifying users to change their passwords can help prevent unauthorized access using stolen credentials.
A Number of lines of code written.
B Number of features delivered per sprint.
C Time spent in meetings.
D Number of bugs reported after release.
Explanation: The number of features delivered per sprint reflects the team's ability to produce functional software.
D Dynamic Programming
Explanation: K-means Clustering is used for pattern recognition and grouping similar data points, making it ideal for analyzing user data.
A Roll back to the previous version
B Notify the product manager
C Attempt to fix the bug in production
D Run a set of automated tests
Explanation: Rolling back to the previous stable version minimizes impact while a fix is developed.
A Procedural Programming
B Object-Oriented Programming
C Functional Programming
D Declarative Programming
Explanation: Functional Programming emphasizes the use of pure functions and avoids changing state.
A Decreased accessibility
B Scalability
C Increased hardware costs
D Reduced data security
Explanation: Cloud storage offers scalability, allowing companies to easily adjust their storage needs.
A Use synchronous requests
B Implement caching strategies
C Increase the number of server-side scripts
D Reduce the use of CSS
Explanation: Implementing caching strategies helps to reduce load times by storing frequently accessed data.
A Latency
B Partition Tolerance
C Data Replication
A Using simple passwords
B Implementing two-factor authentication
C Regularly changing passwords
D Storing passwords in plain text
Explanation: Two-factor authentication adds an extra layer of security by requiring two forms of identification.
A Python
B JavaScript
C Java
Explanation: JavaScript is the standard language for client-side web development, enabling dynamic content.
A To increase code complexity
B To track changes and manage code versions
C To reduce collaboration among developers
D To eliminate code review processes
Explanation: Version control systems track changes, allowing teams to collaborate effectively and manage code history.
A Deploy the model
B Select the model architecture
C Preprocess the data
D Choose the programming language
Explanation: Preprocessing the data is essential to ensure the model learns from clean and relevant information.
B GraphQL
Explanation: RESTful APIs utilize HTTP as their communication protocol, allowing for stateless interactions.
D The team consists of fewer than five members with limited experience in distributed systems.
Explanation: Microservices are beneficial when applications require frequent updates and scaling of individual components, allowing for greater flexibility and agility.
A Increase the hardware specifications of the servers.
B Analyze the current database queries for performance bottlenecks.
C Implement a load balancer to distribute traffic more evenly.
D Conduct a user survey to understand customer satisfaction levels.
Explanation: The first step should be to analyze the database queries, as optimizing them could lead to significant improvements in transaction processing times.
A IaaS eliminates the need for any network security measures.
B IaaS provides more control over the underlying hardware and scalability options.
C IaaS is always cheaper than traditional hosting solutions.
D IaaS requires a longer setup time compared to traditional hosting.
Explanation: IaaS offers greater control over the hardware and allows for scalable deployment options, which is a significant advantage over traditional hosting.
A Implement a policy requiring users to change their passwords every month.
B Use multi-factor authentication to add an extra layer of security.
C Encourage employees to create longer passwords with complex characters.
D Limit access to sensitive data only to senior management.
Explanation: Multi-factor authentication significantly enhances security by requiring an additional verification step beyond just the password.
A The model is underfitting the training data.
B The model has too few features to accurately predict outcomes.
C The model is overfitting the training data.
D The model's training data is too diverse.
Explanation: Overfitting occurs when a model learns the training data too well, including its noise and outliers, leading to poor performance on unseen validation data.