Quiz On Computer Programming And System Design

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Catherine Halcomb
Catherine Halcomb
Community Contributor
Quizzes Created: 1443 | Total Attempts: 6,714,231
| Attempts: 952 | Questions: 30
Please wait...
Question 1 / 30
0 %
0/100
Score 0/100
1. One of the fields on a form contains a text box which accepts alpha numeric values. Identify the Valid Equivalence class

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.

Submit
Please wait...
About This Quiz
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.

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Both positive and neagtive test cases can be derived from a single scenario. state true or false.

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.

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

Explanation

not-available-via-ai

Submit
4. 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.

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.

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

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.

Submit
6. Check what are test design techniques?

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.

Submit
7. 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?

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.

Submit
8. 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.

Explanation

not-available-via-ai

Submit
9. 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.

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.

Submit
10. PScenario: A Particular website has 3 different level of user access:   p1)      Users who are not registered to the site   p2)      Users who are registered   p3)      Premium users or paid members who have access to all actions in the site. State following DT is correct or not. 

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.

Submit
11. What are all entry criteria to test case development?

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.

Submit
12. Which is higher probability to find an error?

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.

Submit
13. 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?

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).

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

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.

Submit
15. Proof is the mandatory element duing test case. state trure or 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.

Submit
16. 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.

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.

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

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.

Submit
18. 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?

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.

Submit
19. Odd man out?

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.

Submit
20. Test case productivity improved by using---

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.

Submit
21. A good test case should be----

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.

Submit
22. What are all test development process?

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.

Submit
23.   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?  

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.

Submit
24. Benefits of review checklist?

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.

Submit
25. RTM tools------

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.

Submit
26. Test case is nothing but , a set of ?

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.

Submit
27. Use case helps us to improve domain coverage as well as test coverage. state true or 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.

Submit
28. Testing after bug fixes-----

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.

Submit
29. Test log includes , following fields?

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.

Submit
30. Test case features?

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.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 21, 2023 +

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
Cancel
  • All
    All (30)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
One of the fields on a form contains a text box which accepts alpha...
Both positive and neagtive test cases can be derived from a single...
Develop test case to validate ---------specified in the requirement.
One of the fields on a form contains a text box which accepts numeric...
Scenario: username field accepts 4 char . apply BVA for this username...
Check what are test design techniques?
If the teller system is going to be tested for a different customer...
In an Examination a candidate has to score minimum of 24 marks in...
The Switch is switched off once the temperature falls below 18 and...
PScenario: A Particular website has 3 different level of user access:...
What are all entry criteria to test case development?
Which is higher probability to find an error?
A program validates a numeric field as follows: values less than 10...
Re-using the test cases during test case preparation will help to----
Proof is the mandatory element duing test case. state trure or false
Given the following specification, which of the following values for...
Which is used to create Test case syntax and test steps?
A program validates a numeric field as follows: values less than 10...
Odd man out?
Test case productivity improved by using---
A good test case should be----
What are all test development process?
  In a system designed to work out the tax to be paid:...
Benefits of review checklist?
RTM tools------
Test case is nothing but , a set of ?
Use case helps us to improve domain coverage as well as test coverage....
Testing after bug fixes-----
Test log includes , following fields?
Test case features?
Alert!

Advertisement