Sunteți pe pagina 1din 5

Solapur Education Society’s Polytechnic, Solapur

Department of Computer Technology


Odd Sem. 2019-20
MCQ Test
Date :- / /2019 Roll No- Marks :- /10

Course Software Testing (22518) Code:- C504


CO- a Apply various software testing methods
Instructions: - i) All questions are compulsory
ii) Tick mark correct answer

1. White Box techniques are also classified as


a) Design based testing b) Structural testing

c) Error guessing technique d) None of the mentioned

2. Boundary value analysis belong to?


a) White Box Testing b) Black Box Testing

c) White Box & Black Box Testing d) None of the mentioned

3. Which of the following is / are not a verification activity?


a. Inspection b. Testing c. Walkthrough d. Technical Review

4. For which one of the following activity needs to execute the product?
a. Verification b. Validation c. Both d. None

5. Which of the following is not an objective of testing?


a. Finding defects b. Preventing defects

c. Gaining confidence in and providing information about level of quality d. Fixing defects

6. Errors, Defects, Failures are synonymous.


a. True b. False
7. Which is a formal review technique?
a) Walk through b) peer to peer review c) Inspection d) All of the above
8. Who leads a walk through?
a) Author b) Moderator c) Reviewer d) Scribe
9. Equivalence partitioning and boundary value analysis techniques are used only during system
testing.
a) True b) False

10. Bug is the same name of _______.


a. Error b. Incident c. Mistake d. Defect
Solapur Education Society’s Polytechnic, Solapur
Department of Computer Technology
Odd Sem. 2019-20
MCQ Test
Date :- / /2019 Roll No- Marks :- /10

Course Software Testing (22518) Code:- C504


CO- b Prepare test cases for different types and levels of testing.
Instructions: - i) All questions are compulsory
ii) Tick mark correct answer

1. Which testing is concerned with behavior of whole product as per specified requirements?
a) Acceptance testing b) Component testing c) System testing d) Integration testing

2. Testing of individual components by the developers are comes under ________________


A) Integration testing B) Validation testing C) Unit testing D) None of mentioned

3. Who performs the Acceptance Testing?


a. Software Developer b. End users c. Testing team d. None of mentioned

4. What is the main purpose of integration testing?


a. Interface errors b. Procedure errors c. Design errors d. Regression Testing

5. Select from which of the following the regression testing should be performed.
A) Every week B) After the software has changed

C) When the environment has changed D) Both option (b,c)

6. Which of the following is the form of Alpha and Beta Testing?


A) System Testing B) Unit Testing C) Acceptance Testing D) Integration Testing

7. Testing of software with actual data and in actual environment is called :


A) Alpha Testing B) Beta Testing C) Regression Testing D) None of mentioned

8. What are the Types of Integration Testing?


A. Big Bang Testing B. Bottom Up Testing C. Top Down Testing D. All of mentioned

9. Which is non-functional software testing?


A. Unit Testing B. Block box testing C. Performance Testing D. Regression testing

10. Alpha testing will be done at,


A. User's site B. Developers' site
Solapur Education Society’s Polytechnic, Solapur
Department of Computer Technology
Odd Sem. 2019-20
MCQ Test
Date :- / /2019 Roll No- Marks :- /10

Course Linux Programming (17816) Code:- C605


CO- 3 Create and Execute Basic Script using conditional commands.
Instructions: - i) All questions are compulsory
ii) Tick mark correct answer

1. Every pattern in case statement in terminated with a _____

a) ; b) : c) ;; d) //

2. Which command is used for computation and string handling?

a) expr b) case c) if d) read

3. To perform decision depending on the fulfillment of certain criteria, ____ is used.

a) if b) else c) for d) if and else

4. Every if is closed with a corresponding ____

a) else b) fi c) if d) else if

5. To check more than two conditions, ___ is used with if-else statements.

a) while b) for c) elif d) for

6. Which of the following operator is used as a shorthand for test?


a) % % b) [ ] c) & & d) ( )
7. The ___ option in case statement matches any option not matched by the previous options.
a) ^ b) $ c) * d) //
8. case can also use wildcards to pattern matching.
a) True b) False
9. Which of the following symbol(s) can be used to redirect the output to a file or another
program?

a) | b) > c) >> d) |, > and >>

10. Which symbol is used to connect different streams?

a) | b) > c) < d) ~
Solapur Education Society’s Polytechnic, Solapur
Department of Computer Technology
Odd Sem. 2019-20
MCQ Test
Date :- / /2019 Roll No- Marks :- /10

Course Linux Programming (17816) Code:- C605


CO- 4 Handle Looping commands and command line parameter using script.

Instructions: - i) All questions are compulsory


ii) Tick mark correct answer
1. Which one of the following is used for looping with a list?
a. while b. until c. case d. for
2. Which of the following shell script's looping features does not recognize the break command?
a. while b. until c. for d. None of these

3. until loop operates with a reverse logic as used in while loop.


A) True B) False
4. Every time shift command is used, the leftmost variable is lost.
A) True B) False
5. test statement cannot ______
a) compare two numbers b) compare two strings
c) compare two files d) check a file’s attributes
6. Arguments that take input by user before running a program are called?
a. main function arguments b. main arguments
c. Command-Line arguments d. Parameterized arguments
7. Which of the following keywords are used in while loop?
a. do b. done c. then d. do and done

8. ____ statement matches an expression for more than one alternative.

a. for b. while c. elif d. case

9. The first argument is read by the shell into the parameter ___
a) 1$ b) $3 c) $$ d) $1

10. The complete set of positional parameters is stored in ______ as a single string.
a) $n b) $# c) $* d) $$
Solapur Education Society’s Polytechnic, Solapur
Department of Computer Technology
Odd Sem. 2019-20
MCQ Test
Date :- / /2019 Roll No- Marks :- /10

Course Linux Programming (17816) Code:- C605


Understand data redirection to the file and create Functions and
CO- 5/6
Use tools ( like, sed and gawk ) to manipulate contents of text files.
Instructions: - i) All questions are compulsory
ii) Tick mark correct answer

1. Which of the following symbol(s) can be used to redirect the output to a file or another
program?
a) | b) > c) >> d) |, > and >>

2. We can redirect the error message to file named newfile using __________ command.
a) cat foo errorfile b) cat foo >errorfile c) cat errorfile>foo d) cat foo 2>errorfile

3. How many files are used for representing different standard streams?

a) 1 b) 2 c) 4 d) 3

4. Which stream is used for representing error messages?


a) standard input b) standard output c) standard error d) error

5. The command wc < sample.txt will count data from the file sample.txt.
A) True B) False

6. Which symbol is used for taking input from standard input?


a) & b) % c) – d) $

7. The >> symbol is used to overwrite the existing file if it exists.


a) True b) False

8. Which filter apart from perl, is the most powerful?

a) sed b) awk c) grep d) cut

9. Which of the following will be used to print lines containing ‘manager’ in emp.lst?

a) awk ‘/manager/ { print }’ emp.lst b) awk ‘/manager { print }’ emp.lst

c) awk ‘/manager/ { print } emp.lst d) awk ‘manager { print }’ emp.lst

10. What is the correct syntax for using sed?

a) sed options file(s) b) sed options ‘action’

c) sed options ‘address action’ file(s) d) sed ‘action’ file(s)

S-ar putea să vă placă și