Fourth Sem Old Question
Fourth Sem Old Question
al
ep
itn
Source: www.csitnepal.com
cs
Source: www.csitnepal.com
cs
Year: 2067
Group B (6x8=4)
9. How a ε- NFA can be converted into NFA and DFA? Explain with a suitable
example.
10. Find the minimum state DFA equivalent to the following DFA.
State 0 1
→A B C
B B D
C E D
D E D
*E A D
11. Show that a language L is accepted by some DFA if and only if L is accepted by s.
12. Define the language of PDA that accepts by Final State. Explain how a PDA
accepting empty stack can be converted into a PDA by final state.
13. Explain about multi tape TM. Show that every language accepted by a multi-tape
Turning Machine is also accepted by one tape Turning Machine.
14. Write short motes on:
al
c. NP-completeness
d. CNF-SAT Problem.
itn
Source: www.csitnepal.com
cs
Group B (6x8=4)
9. Show that a language L is accepted by some DFA if and only if L is accepted by
some NFA.
10. State and prove pumping lemma for regular language. Show by example how it can
be used to prove a language is not a regular.
11. Define Context Free Grammar. Given the following CFG.
S→0AS│0,A→SIA│SS│10
For the string 001001100, Give the left most and right most derivation and also
construct a parse tree.
12. Define deterministic PDA. Design a PDA that accept a language L = {a nbn│ n>0}.
You may accept either by empty stack or by final state.
13. Describe a Universal Turing Machine and its operations. What types of languages
are accepted by Universal TM?
14. Explain about the Chomsky Hierarchy of the language.
al
ep
itn
Source: www.csitnepal.com
cs
Year: 2067
Year: 2067
a. 3D Mirror
b. 2D Rotation
ep
4. Explain in detail about circle clipping algorithm. Where do you require circle
clipping algorithm?
itn
Source: www.csitnepal.com
cs
al
ep
itn
Source: www.csitnepal.com
cs
Year: 2066
Attempt all questions.
1. Answer the following questions in short:
a) Differentiate between logical data independence and physical data
independence.
b) Three-schema architectures.
c) Differentiate between database schema and a database state.
d) Different type of data attributes.
e) The difference among a relationship instance, a relationship type, and
relationship set.
2. a) Draw an ER diagram for database showing Bank. Each Bank can have multiple
branches, and each branch can have multiple accounts and loans.
b) In what sense does a relational calculus differ from relational algebra, and in
what sense are they similar?
3 Assume a database about Company.
EMPLOYEE (ss#, name)
COMPANY (cname, address)
WORKS (ss#, cname)
SUPERVISE (superviser_ss#, employee_ss#)
a) Write relational algebra and SQL queries for each of the following cases.
i) Find the names of all supervisors that work in companies whose address
equals ‘pokhara’.
ii) Find the name of all the companies who have more than 4 supervisors.
iii) Find the name of supervisor who has the largest number of employees.
b) What is a view in SQL and how it is defined? Explain how vies are typically
implemented.
4 a) Define a first, second, and third normal forms with suitable examples.
b) What is a functional dependency? When are two sets of functional dependencies
equivalent? How can we determine their equivalence?
5. a) Discuss the ACID properties of a database transaction with suitable example.
b) Describe the serial and serializable schedule? Why serializable schedule is
consider correct?
6. a) How does the granularity of data items affects the performance of conurrency
control? What factors affect selections of granularity size for data items?
b) Describe the two-phase commit protocol for database transaction.
Year: 2066
al
Source: www.csitnepal.com
cs
b) How can define view in SQL? Explain the problems that may arise when one
attempts to update a view. (1+4)
4. a) What are different update anomalies? Explain each in with suitable examples.
(1+4)
b) Define functional dependency. Describe the closure of a set of functional
dependencies with an example. (1+4)
5. a) Draw a state diagram, and discuss the typical state that a transaction goes
through during transaction. (5)
b) Which of the following schedule is (conflict) serializable? For each serializable
schedule, determine the equivalent serial schedules. (5)
i) r1(x);r3(x); w1(x);r2(x);w3(x);
ii) r1(x);r3(x); w3(x);w1(x);r2(x);
iii) r3(x);r2(x); w3(x);r1(x);w1(x);
iv) r3(x);r2(x); r1(x);w3(x);w1(x);
6. a) Discuss the problems of deadlock and starvation, and the different approaches to
dealing with these problems. (5)
b) Describe write-ahead logging protocol (5)
al
ep
itn
Source: www.csitnepal.com
cs
Year: 2066
Group A
Long Answer Questions:
Attempt any two: (2x10=20)
1. What do you mean by system analysis? Explain the system development life cycle
with example.
2. Draw a DFD diagram of following up to level 2.
Customer sends enquiry to commercial department, receives quotations from
the sales department and places an order. Based on the customer order, the work
order is sent to the planning department for planning scheduling and control, in turn,
the planning department raises a job order on the “shop floor”. On completion,
delivery note and invoice are made out costing department also prepares an
orderwise comparative statement of estimated and actual costs.
3. How can you transforming E-R diagram into relations? Explain with suitable
example.
Group B
Short Answer Questions:
Attempt any eight: (8x5=40)
4. What are the system analyst and design tools?
5. Design the E-R diagram of the following.
a) Customer with draws money from his account.
b) Student attends classes.
6. Explain the data dictionaries with example.
7. Explain the cost-benefit analysis with example.
8. What is the difference between a 2 NF and 3NF relations?
9. What do you mean by file organization?
Year: 2067
Group A
Long Answer Questions:
Attempt any two: (2x10=20)
1. Explain the steps in the maintenance process and contrast them with the phase of the
systems development life cycle.
2. Draw a DFD diagram of the following up to level 2.
Front office of Hotel is responsible for all room reservations, room allocations
al
and final settlement of bills. Any company or person can reserve rooms for their
future stay. They have to indicate from what date to what day they need the room.
ep
They also have to indicate how many rooms are required. Sometimes the
reservations could be cancelled or the dates or number of rooms changed. For
itn
Source: www.csitnepal.com
cs
Group B
Short Answer Questions:
Attempt any eight: (8x5=40)
4. Differentiate between transaction processing system (TPS) and management
information system (MIS).
5. What are the management skills needed by system analysts?
6. What are the three relationship types of E-R diagrams? How are these relationships
paired to build an E-R diagram?
7. Describe the commonly used methods for performing economic cost-benefit
analysis.
8. What is the normalization of a relation? Explain with example.
9. Explain the six types of files used in information systems.
10. What is the role of software application testing?
11. Explain the factors that influence the cost of maintenance.
12. What managerial issues can be better understood by measuring maintenance
effectiveness? Explain.
13. Differentiate between state diagrams and sequence diagrams in object oriented
analysis and design.
al
ep
itn
Source: www.csitnepal.com
cs
Year: 2067
1. Describe how you can use the online help or manual to find how to add a
customized dictionary for technical words in your computer, and once added, how
to open or close the dictionary.
2. What is communication? What are the factors to consider in technical
communication?
3. Arrange the following transition words into the categories of sequence, Examples,
Contrast, and Conclusion, and then use the transition words in your own sentences.
then, nevertheless, consequently, let us say, for instance, however, instead, in
addition, therefore, finally, particularly, in short, thus, such as, for example,
otherwise.
4. Write a sample cover letter to accompany your resume for a position in your field to
the following person.
Mr. R. C. Shrestha
Uni Tech International
GPO Box 00000
Kathmandu
5. Give instructions for operating a personal computer.
6. Explain computer –aided writing or explain what informative summaries are.
Year: 2067
1. Write a one-paragraph description of how you can improve your writing. Begin with
a topic sentence. In the rest of paragraph, add the details that support your topic
sentence.
2. Edit the adjectives in the following sentences to make them correct and clear
a) Blue looks more better on you than gray.
b) The reception was a really nice part.
c) My manager is really a nice person.
d) That is the baddest-looking outfit I have ever seen.
e) Meeting the president was a most unique experience for me.
f) We had the seriousest conversation of the evening
g) I think she was more sharp than anyone else in the party
h) The clock is much more slower than my watch.
3. Write five common acronyms in your area of study and their expanded meanings.
4. Describe briefly the layout of a business letter
5. Write short notes on (any two):
a) Writing with a computer
al
b) Writing in examinations
c) The use of headings
ep
Source: www.csitnepal.com
cs
Year: 2067
Attempt all the questions.
Year: 2067
Attempt all the questions.
al
2. Differentiate between think humanly and act humanly with suitable examples. What
are the applications of artificial intelligence?
itn
Source: www.csitnepal.com
cs
Differentiate between syntax and semantics in the natural language processing. How
can you modify it with pragmatic approach?
al
ep
itn
Source: www.csitnepal.com
cs