Quiz On Computer Programming And System Design

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Catherine Halcomb
Catherine Halcomb
Community Contributor
Quizzes Created: 1379 | Total Attempts: 6,050,727
Questions: 30 | Attempts: 940

SettingsSettingsSettings
Quiz On Computer Programming And System Design - Quiz

Computer programming is the process of having a formulation of a computing problem to executable computer programs. On the other hand, system design is a plan of the computer program. Test your knowledge below and all the best.


Questions and Answers
  • 1. 

    Which is used to create Test case syntax and test steps?

    • A.

      Test Scenario process

    • B.

      Test development process

    • C.

      Test data

    • D.

      Test case

    Correct Answer
    B. Test development process
    Explanation
    The test development process is used to create test case syntax and test steps. This process involves identifying test scenarios, designing test cases, and defining the steps to be executed during testing. Test data is used to provide inputs for the test cases, but it is not directly involved in creating the syntax and steps of the test cases. Therefore, the correct answer is the test development process.

    Rate this question:

  • 2. 

    What are all test development process?

    • A.

      Test runs

    • B.

      Test data preparation

    • C.

      Test scenario

    Correct Answer(s)
    A. Test runs
    B. Test data preparation
    Explanation
    The correct answer is Test runs and Test data preparation because these two steps are part of the test development process. Test runs involve executing the tests and recording the results, while test data preparation involves creating the necessary data sets or inputs for the tests to be executed. These steps are crucial in ensuring that the tests are properly executed and that accurate results are obtained.

    Rate this question:

  • 3. 

    Which is higher probability to find an error?

    • A.

      Test development process

    • B.

      Test case

    • C.

      Test scenario

    • D.

      Test data

    Correct Answer
    B. Test case
    Explanation
    Test cases are specific conditions or inputs that are designed to test a particular aspect or functionality of the software. They are created based on the requirements and specifications of the software. Since test cases are directly linked to the requirements, any error or discrepancy in the requirements can lead to errors in the test cases. Therefore, the probability of finding an error is higher in test cases compared to the other options mentioned.

    Rate this question:

  • 4. 

    Test case is nothing but , a set of ?

    • A.

      Input

    • B.

      Preconditions

    • C.

      Data

    • D.

      Expected results

    Correct Answer(s)
    A. Input
    B. Preconditions
    D. Expected results
    Explanation
    A test case is a set of input, preconditions, data, and expected results. It is used to verify the correctness and functionality of a system or software. The input represents the values or actions that are provided to the system. Preconditions are the conditions or requirements that must be met before the test case can be executed. Data refers to any additional information or variables needed for the test case. Expected results are the outcomes or outputs that are anticipated from the test case. By defining and executing test cases, developers and testers can ensure that the system meets the desired requirements and functions as expected.

    Rate this question:

  • 5. 

    Test case features?

    • A.

      Discover information

    • B.

      Invalid and valid, expected and unexpected condition

    • C.

      It should not be more than one expected result

    • D.

      Preparing data

    Correct Answer(s)
    A. Discover information
    B. Invalid and valid, expected and unexpected condition
    C. It should not be more than one expected result
    Explanation
    The correct answer includes multiple features of a test case. "Discover information" refers to the process of gathering relevant details about the test case. "Invalid and valid, expected and unexpected condition" suggests that the test case should cover different scenarios, both expected and unexpected. "It should not be more than one expected result" implies that there should be a clear and specific expected outcome for the test case. Finally, "preparing data" indicates that the test case should involve setting up the necessary data or conditions for testing.

    Rate this question:

  • 6. 

    Odd man out?

    • A.

      Hardware

    • B.

      Software

    • C.

      Security access

    • D.

      None of these abova

    Correct Answer
    D. None of these abova
    Explanation
    The odd man out in this list is "none of these above" because it does not fit into the category of hardware, software, or security access. The other three options all relate to different aspects of technology, while "none of these above" is a phrase indicating that none of the previous options are the correct answer.

    Rate this question:

  • 7. 

    Proof is the mandatory element duing test case. state trure or false

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The given statement is false. The mandatory element during a test case is not proof, but rather the expected outcome or result. Proof is not required for test cases, as they are designed to verify the functionality or behavior of a specific feature or component. The test case should include the necessary steps, inputs, and expected outputs to validate the functionality, but proof is not a mandatory element.

    Rate this question:

  • 8. 

    What are all entry criteria to test case development?

    • A.

      Freezed document

    • B.

      Approved test plan

    • C.

      None

    • D.

      Test data source

    Correct Answer(s)
    A. Freezed document
    B. Approved test plan
    D. Test data source
    Explanation
    The correct answer is a combination of three entry criteria for test case development: a freezed document, an approved test plan, and a test data source. A freezed document refers to a finalized document that outlines the requirements and specifications for the software being tested. An approved test plan is a documented strategy that outlines the approach, objectives, and scope of the testing process. A test data source refers to the availability of relevant and reliable data that can be used for testing purposes. These three criteria are essential for effective and systematic test case development.

    Rate this question:

  • 9. 

    If the teller system is going to be tested for a different customer then we need to customize the re-usable test scenarios to match the customer requirement. Developed using which methodology?

    • A.

      Use case

    • B.

      Ace

    • C.

      Proto type

    • D.

      DFD

    Correct Answer
    B. Ace
    Explanation
    The answer "ace" refers to the Agile methodology. Agile methodology emphasizes adaptability and collaboration, allowing for customization of test scenarios to match specific customer requirements. This methodology is particularly useful when testing a teller system for different customers, as it allows for flexibility and iterative development.

    Rate this question:

  • 10. 

    Use case helps us to improve domain coverage as well as test coverage. state true or false

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement is false. While it is true that use cases can help improve domain coverage and test coverage to some extent, they do not solely contribute to the improvement. Other techniques like boundary value analysis, equivalence partitioning, and exploratory testing are also essential for achieving comprehensive test coverage. Use cases are primarily used to describe the interactions between actors and the system, focusing more on the functional requirements rather than overall coverage.

    Rate this question:

  • 11. 

    Both positive and neagtive test cases can be derived from a single scenario. state true or false.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    This statement is true because a single scenario can be used to derive both positive and negative test cases. For example, if we have a scenario where a user is attempting to log in, a positive test case would be when the user enters the correct username and password and successfully logs in. On the other hand, a negative test case would be when the user enters an incorrect username or password and fails to log in. Therefore, a single scenario can be used to derive both positive and negative test cases.

    Rate this question:

  • 12. 

    Check what are test design techniques?

    • A.

      EP

    • B.

      BVA

    • C.

      DT

    • D.

      None

    Correct Answer(s)
    A. EP
    B. BVA
    C. DT
    Explanation
    The correct answer includes EP, BVA, and DT. EP stands for Equivalence Partitioning, which involves dividing the input data into different equivalence classes to reduce the number of test cases. BVA stands for Boundary Value Analysis, which focuses on testing the boundaries of input values to uncover errors. DT stands for Decision Table, a technique that uses a table to map different combinations of conditions and actions to guide the testing process. Therefore, the correct answer includes these three test design techniques.

    Rate this question:

  • 13. 

    The Switch is switched off once the temperature falls below 18 and then it is turned on when the temperature is more than 21. When the temperature is more than 21. Identify the Equivalence values which belong to the same class.

    • A.

      12,16,22

    • B.

      24,27,17

    • C.

      22,23,24

    • D.

      14,15,19

    Correct Answer
    C. 22,23,24
    Explanation
    The equivalence values that belong to the same class are 22, 23, and 24. This is because the switch is turned on when the temperature is more than 21. Therefore, any temperature value equal to or greater than 22 will result in the switch being turned on. Hence, 22, 23, and 24 are all considered equivalent in terms of the switch being turned on.

    Rate this question:

  • 14. 

      In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10%. The next £28000 after that is taxed at 22%. Any further amount is taxed at 40%. To the nearest whole pound, which of these groups of numbers fall into three DIFFERENT equivalence classes?

    • A.

      £4000; £5000; £5500

    • B.

      £32001; £34000; £36500

    • C.

      £28000; £28001; £32001

    • D.

      £4000; £4200; £5600

    Correct Answer
    D. £4000; £4200; £5600
    Explanation
    The given groups of numbers fall into three different equivalence classes because they belong to different tax brackets. The first group (£4000, £4200, £5600) falls into the tax-free bracket, the second group (£32001, £34000, £36500) falls into the 22% tax bracket, and the third group (£28000, £28001, £32001) falls into the 10% tax bracket. Therefore, each group falls into a different equivalence class based on the tax rates applied to them.

    Rate this question:

  • 15. 

    Given the following specification, which of the following values for age are in the SAME equivalence partition? If you are less than 18, you are too young to be insured. Between 18 and 30 inclusive, you will receive a 20% discount. Anyone over 30 is not eligible for a discount.

    • A.

      17, 18, 19

    • B.

      29, 30, 31

    • C.

      18, 29, 30

    • D.

      17, 29, 31

    Correct Answer
    C. 18, 29, 30
    Explanation
    The given specification divides the age into three equivalence partitions. The first partition is for ages less than 18, where individuals are considered too young to be insured. The second partition is for ages between 18 and 30 (inclusive), where individuals receive a 20% discount. The third partition is for ages over 30, where individuals are not eligible for a discount. From the given options, the values 18, 29, and 30 fall into the same equivalence partition because they all belong to the second partition and are eligible for the 20% discount.

    Rate this question:

  • 16. 

    One of the fields on a form contains a text box which accepts numeric values in the range of 18 to 25. Identify the invalid Equivalence class.

    • A.

      17

    • B.

      19

    • C.

      24

    • D.

      21

    Correct Answer
    A. 17
    Explanation
    The given question states that the text box accepts numeric values in the range of 18 to 25. Therefore, any value outside this range would be considered invalid. In this case, 17 is outside the specified range, making it the invalid equivalence class.

    Rate this question:

  • 17. 

    In an Examination a candidate has to score minimum of 24 marks in order to clear the exam. The maximum that he can score is 40 marks.  Identify the Valid Equivalence values if the student clears the exam.

    • A.

      22,23,26

    • B.

      21,39,40

    • C.

      29,30,31

    • D.

      0,15,22

    Correct Answer
    C. 29,30,31
  • 18. 

    One of the fields on a form contains a text box which accepts alpha numeric values. Identify the Valid Equivalence class

    • A.

      BOOK

    • B.

      Book

    • C.

      Boo01k

    • D.

      Book

    Correct Answer
    C. Boo01k
    Explanation
    The valid equivalence class for the text box that accepts alphanumeric values is "Boo01k". This is because it contains a combination of alphabetic characters (B, o, k) and numeric characters (0, 1) which are allowed in the field. The case sensitivity is also taken into account, so "Boo01k" is considered valid while "BOOK" and "book" are not.

    Rate this question:

  • 19. 

    A program validates a numeric field as follows: values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. Which of the following input values cover all of the equivalence partitions?

    • A.

      10,11,21

    • B.

      3,20,21

    • C.

      3,10,22

    • D.

      10,21,22

    Correct Answer
    C. 3,10,22
    Explanation
    The given input values 3, 10, and 22 cover all of the equivalence partitions. The first value, 3, is less than 10 and is rejected. The second value, 10, is between 10 and 21 and is accepted. The third value, 22, is greater than or equal to 22 and is rejected. Therefore, these input values cover all of the possible scenarios for the numeric field validation.

    Rate this question:

  • 20. 

    A program validates a numeric field as follows: values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. Which of the following covers the MOST boundary values?

    • A.

      9,10,11,22

    • B.

      9,10,21,22

    • C.

      10,11,21,22

    • D.

      10,11,20,21

    Correct Answer
    B. 9,10,21,22
    Explanation
    The correct answer is 9,10,21,22. This answer covers the most boundary values because it includes the lowest rejected value (9), the lowest accepted value (10), the highest accepted value (21), and the highest rejected value (22).

    Rate this question:

  • 21. 

    §Scenario: A Particular website has 3 different level of user access:   §1)      Users who are not registered to the site   §2)      Users who are registered   §3)      Premium users or paid members who have access to all actions in the site. State following DT is correct or not. 

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The given answer is False. The statement is asking whether the following decision table is correct or not. However, the decision table is not provided in the question, so it is not possible to determine if it is correct or not.

    Rate this question:

  • 22. 

    Scenario: username field accepts 4 char . apply BVA for this username field.

    • A.

      3,4,5

    • B.

      4,5,6

    • C.

      1,2,3

    • D.

      3,1,6

    Correct Answer
    A. 3,4,5
    Explanation
    This answer suggests that the Boundary Value Analysis (BVA) for the username field with a maximum of 4 characters would involve testing the values 3, 4, and 5. This is because these values represent the lower boundary (3), the valid boundary (4), and the upper boundary (5) respectively. By testing these values, we can ensure that the system handles both the minimum and maximum limits correctly.

    Rate this question:

  • 23. 

    Test log includes , following fields?

    • A.

      Actual result

    • B.

      Defect id

    • C.

      Pass/fail

    • D.

      Test case id

    Correct Answer(s)
    A. Actual result
    B. Defect id
    C. Pass/fail
    Explanation
    The test log includes the fields for the actual result, defect ID, pass/fail, and test case ID. These fields are important for tracking and documenting the results of the testing process. The actual result field records the outcome of the test, the defect ID field is used to identify any issues found during testing, the pass/fail field indicates whether the test passed or failed, and the test case ID field helps in identifying the specific test case being executed.

    Rate this question:

  • 24. 

    Develop test case to validate ---------specified in the requirement.

    Correct Answer(s)
    functionality
  • 25. 

    A good test case should be----

    • A.

      Accurate

    • B.

      Economical

    • C.

      Traceable

    • D.

      Repeatable

    • E.

      Easy

    Correct Answer(s)
    A. Accurate
    B. Economical
    C. Traceable
    D. Repeatable
    Explanation
    A good test case should possess several qualities to ensure its effectiveness. It should be accurate, meaning that it accurately reflects the expected behavior of the system under test. It should also be economical, meaning that it should be efficient and not require excessive time or resources to execute. Additionally, it should be traceable, meaning that it can be linked back to specific requirements or test objectives. It should also be repeatable, meaning that it can be executed multiple times with the same expected results. Lastly, it should be easy, meaning that it should be simple to understand and execute.

    Rate this question:

  • 26. 

    Re-using the test cases during test case preparation will help to----

    • A.

      Decrease productivity

    • B.

      Increase reliabiity

    • C.

      Increase productivity

    • D.

      Increase size of test case

    Correct Answer
    C. Increase productivity
    Explanation
    Re-using test cases during test case preparation can help increase productivity because it saves time and effort. Instead of creating new test cases from scratch, testers can modify and reuse existing test cases that have already been developed and proven to be effective. This allows testers to focus on other aspects of testing, such as analyzing results and identifying defects, which ultimately improves the overall efficiency and productivity of the testing process.

    Rate this question:

  • 27. 

    Test case productivity improved by using---

    • A.

      HP

    • B.

      Qtp

    • C.

      Silk test

    • D.

      Rational robot

    Correct Answer
    A. HP
    Explanation
    The given answer suggests that the test case productivity improved by using HP. This implies that the use of HP tools, such as HP Quality Center or HP Unified Functional Testing (QTP), has resulted in an increase in productivity. These tools are commonly used for test automation and management, allowing for efficient test case execution and tracking. Therefore, the use of HP tools has likely contributed to the improvement in test case productivity.

    Rate this question:

  • 28. 

    Benefits of review checklist?

    • A.

      Rework

    • B.

      Customized based on project specific standards

    • C.

      Detect the defect at later on stage

    Correct Answer
    B. Customized based on project specific standards
    Explanation
    The benefits of a review checklist include the ability to customize it based on project-specific standards. This allows for a more tailored and efficient review process, as the checklist can be designed to address the specific requirements and objectives of the project at hand. By using a checklist that is customized to the project's standards, the review process becomes more effective in identifying potential issues or defects, ultimately leading to a higher quality end result.

    Rate this question:

  • 29. 

    Testing after bug fixes-----

    • A.

      Regression testiing

    • B.

      Impact analysis

    • C.

      Re-esting

    Correct Answer
    B. Impact analysis
    Explanation
    Impact analysis is the process of assessing the potential effects of changes made to a software system. In the context of the given question, "testing after bug fixes," impact analysis would involve evaluating the impact of the bug fixes on the system as a whole. This analysis helps determine which areas of the system need to be re-tested to ensure that the bug fixes have not introduced any new issues or affected other functionalities. Therefore, impact analysis is the most relevant and appropriate answer in this scenario.

    Rate this question:

  • 30. 

    RTM tools------

    • A.

      Database

    • B.

      Qtp

    • C.

      Hyperlinks

    • D.

      Qc

    • E.

      Spreadsheets

    Correct Answer(s)
    A. Database
    C. Hyperlinks
    D. Qc
    E. Spreadsheets
    Explanation
    The given answer consists of four items: database, hyperlinks, qc, and spreadsheets. These items are likely examples or components of RTM tools. RTM tools are typically used in software testing to track requirements, test cases, and defects. Databases are commonly used to store and manage data related to testing. Hyperlinks could be used to navigate between different sections or documents within the RTM tool. QC, which stands for Quality Center, is a popular test management tool that can be used in conjunction with RTM tools. Spreadsheets may be used to organize and analyze testing data within the RTM tool.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 23, 2012
    Quiz Created by
    Catherine Halcomb
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.