Independent Preparation Bank for Pakistani Computing Graduates • 100% Free • No Signup
NSCTTest.
Simulator
Home/Subjects/Problem Solving & Analytical Skills/Communication & Solutions Documentation
Problem Solving & Analytical SkillsTopic #5 of 565 MCQs Available

Communication & Solutions Documentation

Comprehensive question bank, step-by-step rationales, and dedicated timed quiz for Communication & Solutions Documentation.

Launch Quiz Mode ↗

Communication & Solutions Documentation Question Bank

Showing 65 questions of 65 with verified answers

22Multiple Choice

(Conceptual) What is the difference between "Imperative" and "Declarative" programming styles in problem solving?

23Multiple Choice

(Scenario-Based) You are writing a program that handles sensitive bank transactions. You want to ensure that even if an error occurs mid-transaction, the system doesn't leave the bank account in a corrupted state. Which structure is most important?

24Multiple Choice

(Code-Tracing) Look at this logic: flag = True x = 5 if (flag == True OR (x / 0 == 0)): print("Success") In a language with Short-Circuit Evaluation, what happens?

25Multiple Choice

(Conceptual) Why is "Separation of Concerns" a vital strategy in complex problem solving?

1Multiple Choice

(Conceptual) What does the "GIGO" (Garbage In, Garbage Out) principle imply for a software engineer analyzing system logs?

2Multiple Choice

(Scenario-Based) A developer notices that the "Average Page Load Time" is 2 seconds. However, 20% of users are complaining the site is "extremely slow." Which data- driven action should the developer take next?

3Multiple Choice

(Code-Logic / Data) You are processing a list of temperature readings: [22, 25, NULL, 24, 300, 26]. Which data cleaning step is most critical before calculating the "Average Temperature"?

4Multiple Choice

(Calculation / Stats) A startup has 5 employees with the following salaries: $30k, $30k, $40k, $50k, and $500k (the CEO). Which measure of central tendency provides the most realistic view of a "typical" employee salary?

5Multiple Choice

(Scenario-Based) An e-commerce site wants to know if a "Blue Buy Button" or a "Green Buy Button" leads to more sales. They show Blue to 50% of users and Green to the other 50%. This is an example of:

6Multiple Choice

(Conceptual) In data-driven problem solving, what is "Quantitative Data"?

7Multiple Choice

(Scenario-Based) A project manager says: "Our app is great because it has 1 million total downloads." As a critical thinker, why might you consider this a "Vanity Metric"?

8Multiple Choice

(Code-Logic / SQL) You are looking at a database of server errors. Which query logic would help you find the Root Cause of a sudden spike in errors? SELECT error_type, COUNT(*) FROM logs WHERE timestamp > '2023-10-01' GROUP BY error_type

9Multiple Choice

(Conceptual) What is the "Data Lifecycle" in problem solving?

10Multiple Choice

(Calculation / Logic) A monitoring tool shows that your server memory usage is increasing by 100MB every hour, regardless of user traffic. Using this data, what can you predict?

11Multiple Choice

(Scenario-Based) You are deciding whether to upgrade your server's RAM or its CPU. You check the logs and see: CPU Usage: 20%, Memory Usage: 98%. What is the data- driven decision?

12Multiple Choice

(Conceptual) In data analysis, "Correlation does not imply Causation" means:

13Multiple Choice

(Code-Logic / Data) A function is_outlier(value, mean, std_dev) returns True if a value is more than 3 standard deviations away from the mean. If mean = 50 and std_dev = 5, which value is an outlier?

14Multiple Choice

(Scenario-Based) You are testing a new compression algorithm. It works 10x faster on "Text files" but 2x slower on "Image files." Your app mainly handles Images. What is the data-driven decision?

15Multiple Choice

(Conceptual) What is "Exploratory Data Analysis" (EDA)?

16Multiple Choice

(Scenario-Based) A security log shows 10,000 failed login attempts from a single IP address in 1 minute. Using this data, what is the most appropriate automated action?

17Multiple Choice

(Calculation / Logic) You are comparing two algorithms. Algorithm X: Success rate 99.9%, Cost $1000. Algorithm Y: Success rate 99.0%, Cost $10. If your app is a "Casual Game," which is the data-driven choice?

18Multiple Choice

(Conceptual) "Sampling" is a data technique where you:

1Multiple Choice

(Conceptual) In the problem-solving cycle, which type of thinking is most useful during the initial ideation phase to ensure a wide variety of solutions are considered?

2Multiple Choice

(Scenario-Based) A team is told that building a custom data center is too expensive based on market prices for hardware. Instead of accepting this, the Lead Engineer breaks down the cost of raw silicon, electricity, and cooling to see if they can build it differently for 1/10th the cost. This is an example of:

3Multiple Choice

(Scenario-Based) Users are complaining that a mobile app takes too long to "Sync data" on startup. Instead of making the sync algorithm faster, the developer adds a "Fun Fact" or "Tip of the Day" screen to keep the user occupied. This is a creative application of: •

4Multiple Choice

(Conceptual) What does the cognitive bias "Functional Fixedness" refer to in a programming context?

5Multiple Choice

(Scenario-Based) To solve the problem of high server costs, an engineer suggests using the "idle CPU power" of the users' own browsers to perform background calculations. This "unconventional" solution is best described as:

6Multiple Choice

(Comparison) How does "Incremental Innovation" differ from "Radical Innovation"?

7Multiple Choice

(Scenario-Based) During a brainstorming session, the rule "Quantity over Quality" is enforced. No idea is criticized, no matter how wild. This is a technique used to encourage:

8Multiple Choice

(Conceptual) In innovative problem solving, what is the "SCAMPER" method?

9Multiple Choice

(Scenario-Based) A developer needs to build a search engine. Instead of looking at other search engines, they study how ants find food and use that logic to create a "swarm- based" search algorithm. This is an example of:

10Multiple Choice

(Conceptual) Why is "Constraint-Based Innovation" important in software engineering?

11Multiple Choice

(Comparison) What is the role of "Convergent Thinking" after a "Divergent Thinking" session?

1Multiple Choice

(Scenario-Based) A startup is launching a social media app. They expect user traffic to be very low initially but want to be able to handle millions of users suddenly if a post goes viral. Which architectural decision is the most "Real-World" prepared?

2Multiple Choice

(Conceptual) What is the primary "interest" paid on **Technical Debt** in a long-term software project?

3Multiple Choice

(Scenario-Based) A banking system requires that if a database update fails halfway through a transfer, the entire transaction must be undone to prevent money from "vanishing." This property is known as:

4Multiple Choice

(Comparison) When comparing **Microservices** to **Monolithic** architecture, what is a major "Real-World" disadvantage of Microservices?

5Multiple Choice

(Calculation / Logic) A company's RPO (Recovery Point Objective) is set to 1 hour. If a server crashes at 2:00 PM, which of the following backup scenarios is a violation of the RPO?

6Multiple Choice

(Scenario-Based) An e-commerce site crashes every time they try to update the "Checkout" code. To solve this, they set up an identical second server environment. They update the inactive one, test it, and then flip a switch to send all traffic there. This is:

7Multiple Choice

(Conceptual) In a real-world project, what does "Feature Creep" refer to?

8Multiple Choice

(Scenario-Based) A news website experiences a "Slashdot Effect" (a massive, unexpected surge in traffic). The database CPU hits 100% and the site stops loading. The fastest temporary "Real-World" fix to keep the site alive is:

9Multiple Choice

(Comparison) What is the difference between Availability and Reliability?

10Multiple Choice

(Debugging / Scenario) You are a Lead Engineer. A junior developer suggests a "Big Bang Rewrite" of a 10-year-old legacy system because the code is "ugly." Why is this usually a bad real-world decision?

11Multiple Choice

(Scenario-Based) A mobile app developer is choosing between Native (Swift/Kotlin) and Cross-Platform (Flutter/React Native). The budget is small, and they need to launch on both iOS and Android in 2 months. What is the logical choice?

12Multiple Choice

(Conceptual) What is the purpose of a **"Post-Mortem"** meeting after a major system outage?

13Multiple Choice

(Scenario-Based) Your API is used by 500 different partner companies. You need to change the data format of your "User" object. How do you handle this in the real world?

14Multiple Choice

(Comparison) In a cloud environment, what is the difference between PaaS (Platform as a Service) and IaaS (Infrastructure as a Service)?

15Multiple Choice

(Calculation / Logic) A system has a "Four Nines" (99.99%) SLA. How much downtime is allowed per month (approx. 30 days)?

16Multiple Choice

(Scenario-Based) A video streaming app works perfectly for 100 users, but for 10,000 users, the video starts buffering constantly. This problem is most likely a failure of:

17Multiple Choice

(Conceptual) What is "Dogfooding" in software development?

18Multiple Choice

(Scenario-Based) Your server is in the US, but your users are in Pakistan. They complain the site feels "heavy" and slow. What is the most effective way to solve this "Real- World" problem?

19Multiple Choice

(Comparison) What is the difference between Authentication and Authorization?

20Multiple Choice

(Conceptual) A developer uses "Feature Flags" to hide a new feature in production. Only 5% of users can see it. This is an example of:

1Multiple Choice

(Conceptual) What is the primary philosophy behind "Self-Documenting Code"?

2Multiple Choice

(Scenario-Based) A developer is pushing code to a shared repository. Which of the following is considered the most "Professional" Git commit message?

3Multiple Choice

(Conceptual) When documenting a REST API, what is the purpose of using a tool like Swagger (OpenAPI)?

4Multiple Choice

(Scenario-Based) A non-technical Project Manager asks, "Why is the project taking longer than expected?" The team is currently fixing "Technical Debt." What is the best way to communicate this?

5Multiple Choice

(Comparison) What is the difference between an SRS (Software Requirements Specification) and a User Manual?

6Multiple Choice

(Code-Logic / Markdown) In a README.md file, which syntax is used to represent a top-level heading (H1) and a block of code?

7Multiple Choice

(Conceptual) What does the "Bus Factor" of a software project represent?

8Multiple Choice

(Scenario-Based) You find a complex piece of code that uses a very unusual mathematical hack to improve performance by 50%. What is the most important thing to document in the comments?

9Multiple Choice

(Comparison) What is the difference between Inline Comments and Documentation Strings (Docstrings)?

10Multiple Choice

(Conceptual) In the context of a project's documentation, what is a "Change Log" (CHANGELOG.md)?

11Multiple Choice

(Scenario-Based) You are creating a flowchart to document a complex login logic. Which shape would you use to represent the step "User enters Username and Password"?

12Multiple Choice

(Conceptual) Why is "UML" (Unified Modeling Language) used in technical documentation?