1Which of the following is not one of the '4 P's' of Software Project Management spectrum?
A.People
B.Product
C.Process
D.Programming
Correct Answer: Programming
Explanation:The 4 P's of management are People, Product, Process, and Project. Programming is a technical activity within the process, not a management quadrant.
Incorrect! Try again.
2In the context of the Project Management Triangle, which three factors are mutually constrained?
A.Money, People, Time
B.Scope, Cost, Time
C.Quality, Risk, Resources
D.Documentation, Coding, Testing
Correct Answer: Scope, Cost, Time
Explanation:The Iron Triangle of Project Management consists of Scope, Cost, and Time. Changing one inevitably affects the others.
Incorrect! Try again.
3What is the primary purpose of a Work Breakdown Structure (WBS)?
A.To calculate the exact lines of code
B.To decompose the project into manageable tasks in a hierarchical manner
C.To assign git branches to developers
D.To define the database schema
Correct Answer: To decompose the project into manageable tasks in a hierarchical manner
Explanation:WBS is a hierarchical decomposition of the total scope of work to be carried out by the project team to accomplish the project objectives.
Incorrect! Try again.
4In software cost estimation, what does LOC stand for?
A.Level of Complexity
B.List of Components
C.Lines of Code
D.Limit of Cost
Correct Answer: Lines of Code
Explanation:LOC (Lines of Code) is a direct measure used in many estimation techniques to quantify the size of a software product.
Incorrect! Try again.
5Which estimation technique is based on the number of inputs, outputs, inquiries, files, and external interfaces?
A.Constructive Cost Model (COCOMO)
B.Function Point Analysis (FPA)
C.Use Case Points
D.Process Breakdown
Correct Answer: Function Point Analysis (FPA)
Explanation:FPA measures the functionality provided to the user based on five functional components: External Inputs, Outputs, Inquiries, Internal Logical Files, and External Interface Files.
Incorrect! Try again.
6In Function Point Analysis, the formula for calculating the Value Adjustment Factor (VAF) based on 14 General System Characteristics () is:
A.
B.
C.
D.
Correct Answer:
Explanation:The standard formula calculates VAF starting at a baseline of 0.65 and adds 0.01 for each degree of influence from the 14 characteristics.
Incorrect! Try again.
7What is a major advantage of Function Points (FP) over Lines of Code (LOC) as a metric?
A.FP is language independent
B.FP is easier to automate
C.FP measures technical complexity better
D.FP requires the code to be written first
Correct Answer: FP is language independent
Explanation:Function Points measure functionality from the user's perspective, independent of the programming language used to implement it.
Incorrect! Try again.
8In the Basic COCOMO model, the relationship between Effort () and program size () is given by which type of equation?
A.
B.
C.
D.
Correct Answer:
Explanation:Basic COCOMO uses a non-linear power function where and are constants determined by the project mode (Organic, Semi-detached, Embedded).
Incorrect! Try again.
9Which COCOMO mode is appropriate for small, simple software projects with small teams and loose constraints?
A.Embedded
B.Semi-detached
C.Organic
D.Dynamic
Correct Answer: Organic
Explanation:Organic mode represents simple projects with experienced teams and flexible requirements.
Incorrect! Try again.
10What is the unit of measure for 'Effort' in the COCOMO model?
A.Dollars
B.Person-Months (PM)
C.Weeks
D.Lines of Code
Correct Answer: Person-Months (PM)
Explanation:COCOMO estimates effort in Person-Months (or Man-Months), representing the amount of work one person can do in one month.
Incorrect! Try again.
11In Use Case Points (UCP) estimation, UUCP stands for:
A.Universal Use Case Protocol
B.Unadjusted Use Case Points
C.User Utilized Code Parts
D.Unified User Case Process
Correct Answer: Unadjusted Use Case Points
Explanation:UUCP is the sum of Unadjusted Actor Weights (UAW) and Unadjusted Use Case Weights (UUCW) before technical and environmental factors are applied.
Incorrect! Try again.
12When calculating Use Case Points, a 'Complex' actor (usually an external system with a standard API) is typically assigned a weight of:
A.1
B.2
C.3
D.5
Correct Answer: 3
Explanation:In UCP, Simple actors (API) are often 1, Average (protocol/CLI) are 2, and Complex (GUI/Human) are 3. Note: Some variations swap API to 3 depending on the specific standard referenced (e.g., Karner), but strictly: Simple (API)=1, Average (Protocol)=2, Complex (GUI)=3. If the question implies a Human as complex, it is 3. (Correction: In Karner's method: Simple (API) = 1, Average (TCP/IP) = 2, Complex (Human GUI) = 3).
Incorrect! Try again.
13Brooks' Law states that:
A.Software expands to fill the available memory
B.Adding manpower to a late software project makes it later
C.The first 90% of the code accounts for the first 90% of development time
D.Every program attempts to expand until it can read mail
Correct Answer: Adding manpower to a late software project makes it later
Explanation:Brooks' Law suggests that the communication overhead and ramp-up time for new members outweigh the immediate productivity gains.
Incorrect! Try again.
14Which scheduling technique represents the project schedule in a calendar view with bars representing task durations?
A.PERT Chart
B.CPM Network
C.Gantt Chart
D.Flow Chart
Correct Answer: Gantt Chart
Explanation:A Gantt chart is a bar chart that illustrates a project schedule, mapping tasks against a calendar timeline.
Incorrect! Try again.
15In the Critical Path Method (CPM), the Critical Path is defined as:
A.The path with the fewest activities
B.The path with the highest cost
C.The longest continuous path of activities through the network
D.The path with the most slack time
Correct Answer: The longest continuous path of activities through the network
Explanation:The critical path determines the shortest possible time to complete the project. Any delay on this path delays the whole project.
Incorrect! Try again.
16If an activity has an Early Start (ES) of day 5 and a Late Start (LS) of day 8, what is the Float (or Slack) of this activity?
A.3 days
B.13 days
C.-3 days
D.0 days
Correct Answer: 3 days
Explanation:. Therefore, days. This activity can be delayed by 3 days without affecting the project finish date.
Incorrect! Try again.
17PERT differs from CPM primarily because:
A.PERT is deterministic while CPM is probabilistic
B.PERT uses three time estimates (optimistic, pessimistic, most likely) while CPM uses one
C.CPM is for R&D while PERT is for construction
D.PERT does not allow dummy activities
Correct Answer: PERT uses three time estimates (optimistic, pessimistic, most likely) while CPM uses one
Explanation:PERT deals with uncertainty by using a weighted average of three time estimates, whereas CPM assumes fixed (deterministic) time durations.
Incorrect! Try again.
18In PERT analysis, the expected time () for an activity is calculated using which formula?
A.
B.
C.
D.
Correct Answer:
Explanation:This is the beta distribution mean used in PERT, weighting the 'most likely' () time four times more than optimistic () or pessimistic ().
Incorrect! Try again.
19The variance () of an activity in PERT is calculated as:
A.
B.
C.
D.
Correct Answer:
Explanation:Variance is the square of the standard deviation. The standard deviation in PERT is approximated as one-sixth of the range between pessimistic and optimistic times.
Incorrect! Try again.
20A Dummy Activity in a network diagram:
A.Has zero duration and consumes no resources
B.Is used to fix bugs
C.Represents the critical path
D.Has the longest duration
Correct Answer: Has zero duration and consumes no resources
Explanation:Dummy activities (dashed lines) are used to establish logical dependencies between tasks in a network diagram without adding time or work.
Incorrect! Try again.
21What does SCM stand for in software engineering?
A.Source Code Manufacturing
B.Software Configuration Management
C.System Control Mechanism
D.Secure Code Monitoring
Correct Answer: Software Configuration Management
Explanation:SCM is the task of tracking and controlling changes in the software, part of the larger cross-disciplinary field of configuration management.
Incorrect! Try again.
22In SCM, a Baseline is best described as:
A.The first line of code written
B.A standard from which quality is measured
C.A specification or product that has been formally reviewed and agreed upon
D.The minimum hardware requirements
Correct Answer: A specification or product that has been formally reviewed and agreed upon
Explanation:A baseline serves as the basis for further development, and can be changed only through formal change control procedures.
Incorrect! Try again.
23Which SCM concept allows multiple developers to work on different features of the same codebase simultaneously without interfering with the main code?
A.Auditing
B.Branching
C.Compiling
D.Profiling
Correct Answer: Branching
Explanation:Branching creates a parallel version of the repository, allowing isolated development. These branches can later be merged.
Incorrect! Try again.
24What is a SCI in the context of Configuration Management?
A.Software Control Interface
B.Software Configuration Item
C.Source Code Integration
D.System Check Instruction
Correct Answer: Software Configuration Item
Explanation:An SCI is a fundamental structural unit of SCM (e.g., a document, a source file, a test case) that is treated as a single entity for version control.
Incorrect! Try again.
25The process of combining code changes from multiple contributors into a single software project usually automated by tools is called:
A.Continuous Integration (CI)
B.Continuous Marketing
C.Continuous Planning
D.Continuous Monitoring
Correct Answer: Continuous Integration (CI)
Explanation:CI is the practice of merging all developers' working copies to a shared mainline several times a day.
Incorrect! Try again.
26Which of the following is a primary goal of DevOps?
A.To separate developers and operations teams completely
B.To slow down deployment to ensure safety
C.To bridge the gap between development and operations for faster delivery
D.To eliminate the need for software testing
Correct Answer: To bridge the gap between development and operations for faster delivery
Explanation:DevOps emphasizes communication, collaboration, and integration between software developers and IT operations professionals.
Incorrect! Try again.
27In GitHub Actions, what file format is used to define workflows?
A.XML
B.JSON
C.YAML
D.HTML
Correct Answer: YAML
Explanation:GitHub Actions workflows are defined using YAML (YAML Ain't Markup Language) syntax.
Incorrect! Try again.
28Where must GitHub Actions workflow files be stored in a repository?
A.Root directory
B..github/workflows directory
C.src/actions directory
D.config/ci directory
Correct Answer: .github/workflows directory
Explanation:GitHub specifically looks for YAML workflow definitions in the .github/workflows directory of the repository.
Incorrect! Try again.
29In a GitHub Actions workflow, what does the keyword on specify?
A.The operating system to run on
B.The events that trigger the workflow
C.The duration of the workflow
D.The output of the workflow
Correct Answer: The events that trigger the workflow
Explanation:The on keyword defines the events (e.g., push, pull_request) that cause the workflow to run.
Incorrect! Try again.
30Which component of a GitHub Action hierarchy contains a set of steps that execute on the same runner?
A.Workflow
B.Job
C.Repository
D.Artifact
Correct Answer: Job
Explanation:A workflow is made of one or more jobs. A job contains a sequence of steps and runs on a specific runner (virtual environment).
Incorrect! Try again.
31What is the difference between Continuous Delivery (CD) and Continuous Deployment?
A.No difference
B.Continuous Deployment requires manual approval to release to production; Continuous Delivery is automatic
C.Continuous Delivery requires manual approval to release to production; Continuous Deployment is automatic
D.Continuous Delivery is for testing; Continuous Deployment is for coding
Correct Answer: Continuous Delivery requires manual approval to release to production; Continuous Deployment is automatic
Explanation:In Continuous Delivery, the code is deployable at any time but requires a manual trigger. Continuous Deployment automates the release to production entirely.
Incorrect! Try again.
32In the context of GitHub Actions, what is a Runner?
A.The person writing the code
B.A server that runs the workflow jobs
C.A script that tests the code
D.The manager overseeing the project
Correct Answer: A server that runs the workflow jobs
Explanation:A runner is a server (hosted by GitHub or self-hosted) that listens for available jobs, runs one job at a time, and reports the progress, logs, and results.
Incorrect! Try again.
33Which syntax is used to access a secret variable named API_KEY in a GitHub Action YAML file?
A.$API_KEY
B.{{ secrets.API_KEY }}
C.${{ secrets.API_KEY }}
D.%API_KEY%
Correct Answer: ${{ secrets.API_KEY }}
Explanation:GitHub Actions uses the ${{ }} syntax for expressions, and secrets are accessed via the secrets context.
Incorrect! Try again.
34What is the purpose of the uses keyword in a GitHub Action step?
A.To define a variable
B.To run a shell command
C.To execute a pre-defined action (either local or from the Marketplace)
D.To comment out code
Correct Answer: To execute a pre-defined action (either local or from the Marketplace)
Explanation:uses specifies that the step will run a reusable action, such as actions/checkout@v2.
Incorrect! Try again.
35In Earned Value Analysis, if the Schedule Variance () is negative (), it implies:
A.The project is ahead of schedule
B.The project is behind schedule
C.The project is under budget
D.The project is over budget
Correct Answer: The project is behind schedule
Explanation:. If EV is less than PV, the result is negative, meaning less work has been accomplished than planned.
Incorrect! Try again.
36The Cost Performance Index (CPI) is calculated as:
A.
B.
C.
D.
Correct Answer:
Explanation:CPI is the ratio of Earned Value to Actual Cost. A value < 1 indicates the project is over budget.
Incorrect! Try again.
37Which command is typically used in SCM to save changes to the local repository history?
A.git pull
B.git commit
C.git clone
D.git init
Correct Answer: git commit
Explanation:git commit captures a snapshot of the project's currently staged changes.
Incorrect! Try again.
38In Project Monitoring, 'Milestone Analysis' focuses on:
A.Daily coding activities
B.Tracking the completion of major specific events or deliverables
C.Counting lines of code per hour
D.Monitoring server CPU usage
Correct Answer: Tracking the completion of major specific events or deliverables
Explanation:Milestones are zero-duration points that signify an important achievement in the project (e.g., 'Requirements Signed Off').
Incorrect! Try again.
39Which of the following is a 'Direct Cost' in software project estimation?
A.Office Rent
B.HR Department Salaries
C.Salaries of developers working on the project
D.Electricity bill for the building
Correct Answer: Salaries of developers working on the project
Explanation:Direct costs are those specifically attributed to the project, such as developer wages, software licenses for the project, etc.
Incorrect! Try again.
40What is the risk exposure formula?
A.
B.
C.
D.
Correct Answer:
Explanation:Risk Exposure (RE) quantifies risk by multiplying the probability of the risk occurring by the loss (impact) if it occurs.
Incorrect! Try again.
41In COCOMO II, which 'Scale Factor' accounts for the team's experience with the development process?
A.Precedentedness
B.Team Cohesion
C.Process Maturity
D.Resiliency
Correct Answer: Process Maturity
Explanation:Process Maturity (often based on CMMI levels) is one of the five scale factors in COCOMO II that determines the exponent in the effort equation.
Incorrect! Try again.
42Which of the following is NOT an element of Function Point 'Complexity Weights'?
A.Low
B.Average
C.High
D.Impossible
Correct Answer: Impossible
Explanation:Function Point components are weighted as Low, Average, or High complexity.
Incorrect! Try again.
43When using runs-on: ubuntu-latest in GitHub Actions, what is happening?
A.The workflow runs on the user's local Ubuntu machine
B.The workflow runs on a GitHub-hosted virtual machine using the latest Ubuntu version
C.The code is compiled into an Ubuntu ISO
D.The workflow installs Ubuntu on the server
Correct Answer: The workflow runs on a GitHub-hosted virtual machine using the latest Ubuntu version
Explanation:runs-on specifies the type of machine to run the job on. ubuntu-latest is a standard GitHub-hosted runner.