You are on page 1of 6

COMPANY CONFIDENTIAL

Education and Research Department


Sample Question Bank for PR 101 Open Systems
Foundation Certification
Infosys Sample Question Bank for PR 101 Open Systems Foundation Certification
Version No. 3.0 ii
Document Revision History
Ver.
Revision Date Author(s) Reviewer(s) Description
Ver3.0 08-Mar-07 Amit Tiwary Swati Comments
incorporated
Infosys Sample Question Bank for PR 101 Open Systems Foundation Certification
Version No. 3.0 1
Sample Questions for PR 101 Open Systems Foundation
Certification
1. File Server is used for creating shared repositories. When different users
try to
access the same file which is already in use(used by user1) simultaneously,
a. other users will be denied access to open the file
b. other users will get a read-only copy of the file
c. other users will be able to update the same shared file at that point in
time
2. Consider the following statements: In client-server environment,
i. The client and the server can reside on the same machine
ii. Server refers to either a machine(hardware) or a piece of software
a. Both i) and ii) are false
b. i) is true and ii) is false
c. i) is false and ii) is true
d. Both i) and ii) are true
3. Consider an application where the client software gets the user input(form
parameters) and passes it on to the server for further validation and
processing. Finally, the client displays the response that it had received from
the server to the end user. How would you best describe the client and the
server in this scenario?
a. Fat client and fat server
b. Fat client and thin server
c. Thin client and fat server
d. Thin client and thin server
4. Microsoft exchange server is an example of
a. groupware server
b. file server
c. database server
5. Which of the following servers is used for defining rules for automated
processing of tasks in a business environment?
a. Mail server
b. File server
c. Workflow server
d. Newsgroup server
Infosys Sample Question Bank for PR 101 Open Systems Foundation Certification
Version No. 3.0 2
6. The load on a machine increases as the number of concurrent users on the
system increases. In order to service the requests from the concurrent users
and also to ensure that the load on the server is kept minimal, the application
is usually deployed on more than one physical machine. What is this
configuration termed as?
a. Cluttering
b. Clustering
c. Linking
d. Collating
7. Identify correct statement about Abstract Class.
a. Abstract class cannot be instantiated
b. Abstract class cannot be inherited
c. Abstract class cannot have any member methods
d. None of the above
8. An object is an entity that combines
a. State and Behavior
b. State
c. Event
d. Behavior
9. Identify the incorrect statement
a. Private data members are inheritable
b. Protected data members are inheritable
c. Public data members are inheritable
d. Public data members are accessible outside the class
10. Pick up the correct alternative
a. Data members inside class form the state of the class
b. Data members inside class form the behavior of the class
c. Member functions inside class form the state of class
d. Functions outside class form the state of the class
11. Generalization is
a. Process of identifying the similarities among different classes
b. Process of identifying non inheritable components within a class
c. Process of identifying inheritable components within a class for dynamic
binding
12. Pick up the incorrect alternative
a. Abstraction is achieved with the help of Encapsulation
b. Encapsulation is the process of hiding class members from outside the
class
c. Encapsulation is implemented using private, public and protected
d. Abstraction is feature of only Object Oriented Languages
13. When a user issues a COMMIT statement, which of the following is/are
true?
a. Data is flushed to the data file immediately
b. Redo is generated for the transaction immediately
c. Acquired row/table locks are released immediately
14. Evaluate the following:
BEGIN
FOR i IN 1..9 LOOP
IF I=4 OR I=6 THEN null;
ELSE
INSERT INTO test(result)
VALUES (I);
END IF;
COMMIT;
END LOOP;
ROLL BACK;
END.
How many values will be inserted into the test table?
a. 4
b. 0
c. 6
d. 7
15. In a PL/SQL block, you create a variable but you do not initialize it. The
block
executes. What will be the initial value of the variable?
a. Depends on the scale and precision of the variable
b. The block will not execute as the variable was not initialized
c. Null
d. Zero
16. The smallest unit used by Oracle to handle I/O is
a. OS block
b. Extent
c. Datablock
d. Segment
17. Definitions of any database object is stored in the
a. Database buffer cache
b. Library cache
c. Dictionary cache
d. Redolog buffer cache
18. Which of the following parameter must be set to display the query results
followed by messages indicating the number of records returned?
a. SET FEEDBACK ON
b. SET ECHOSET ON
c. SET PAUSE ON
d. SET RECSEPCHAR ON
19. Which of the following operation does not require Oracle to store
information
in a rollback segment as part of the transaction?
a. Update
b. Delete
c. Insert
d. Select
20. Which of the following statement is true with respect to the features of
UNIX?
a. Easy to write programs
b. Hierarchical File System
c. Highly portable
d. All the above statements are correct
20. Which of the following is/are Operating System Services
a. Memory Management
b. Process Management
c. Input/Output Management
d. All the above statements are correct
21. Identify the incorrect option regarding the system wide default directories
of
UNIX
a. home
b. dev
c. etc
d. ex
22. How do you get help about the command "cp"?
a. help cp
b. man cp
c. cp ?
23. How do you list all the files that are in the current directory?
a. list all
b. ls –full
c. ls -a
24. How do you rename file "new" as "old"?
a. mv new old
b. cp new old
c. ren new old
25. How do you view the content of file "not_empty"?
a. type not_empty
b. cat not_empty
c. more not_empty
26. How do you create a new directory called "flower"?
a. newdir flower
b. mkdir flower
c. crdir flower
27. Which of the following is true?
a) UNIX is a widely used multi user system.
b) UNIX is case sensitive.
c) UNIX has a hierarchal file system.
d) All of the above are true.
e) None of the above is true.
28. To list the permissions on files, which of the following commands will
work?
a. $ ls
b. $ ls –a
c. $ ls –l
d. All of the above will work.
29. The file mypage.html has permissions set as r w - - - - - - - . Which of the
following will change the permissions so that the file can be viewed on the
WWW (by everyone)?
a. $ chmod og+x mypage.html
b. $ chmod ug+x mypage.html
c. $ chmod og+r mypage.html
d. None of the above will work
30. Which command always puts you in your home directory?
a. $ home
b. $ cd
c. $ cd . .
d. $ pwd
31. To delete a file called mynotes.txt, which command do you use?
a) $ del -i mynotes.txt
b) $ rmdir mynotes.txt
c) $ rm mynotes.txt
d) None of the above commands will work.
32. To logout from UNIX shell we need to press ___ at command prompt.
a. Ctrl -D
b. Ctrl -X
c. Ctrl -Z
d. Ctrl -L
33. In File Descriptors Standard Input (0) represents
a. The file to which the process is tied to for accepting the input
b. The file to which the process is tied to for directing the output
c. The file to which the process is tied to for writing error messages
d. None of the given options are correct
34. grep '^...$' filename matches
a. lines containing exactly 3 chars
b. lines containing any number of chars with starting ^ and ending with $
c. lines containing exactly 5 chars
d. We can’t give such option
35. grep 'A\^' filename matches
a. an A^ anywhere in the line
b. an A at the beginning of line only and ^ at the end of the line
c. lines containing exactly A and ^ only
d. lines containing exactly A \^ only
36. grep '^$' filename matches
a. blank lines
b. an ^ anywhere in the line
c. lines containing exactly $ and ^ only
d. an ^ at the beginning of line only
37. Identify the false statement regarding characteristic of vi Editor
a. Omnipresent
b. Powerful UNDO features
c. Case in-sensitive
d. Fast
38. What does this pattern substitution represent?
:s/ptn1/ptn2
a. Replaces first occurrence of ptn1 with ptn2.
b. Replaces all occurrences in the current line.
c. Replaces all occurrences from current line to end of file.
d. Replaces all occurrences of ptn1 to ptn2 in the file.
39. What is/are the modes of setting file permissions with respect to File
Security
(i)Absolute Mode
(ii)Symbolic Mode
(iii)Read Mode
(iv)Lock Mode
a. option (i) is true only
b. option (i) & option (ii) is true
c. option (ii) & option (iv) is true
d. option (iii) & option (iv) is true
40. ____ number represents for system wide default permission for a directory
a. 777
b. 444
c. 222
d. 147
41. The default value for umask is
a. 022
b. 777
c. 421
d. 220
42. The ownership for a file can be change by
a. owner and root both
b. owner only
c. root only
d. ownership can’t be chang

You might also like