Tuesday, February 25, 2020

NIC Exam Important notes


1.       Preemptive scheduling
2.       Planar graph
3.       How to find number of graphs==2 n(n-1)/2  n is the number of veritces
4.       Eular graph : V-e+f=2
5.    Non-Contiguous Allocation in Operating System
6. Finite state automata
7. Melay and Moore Machine

NIC Techinal Assistan Exam 2017 Previous Paper with answer Section A



1.       Las Vegas is certainly one of the honeymooner's heaven among the moderately rich Americans. Why should it not be? Las Vegas has much more to offer than shops and slot machines. However, unfortunately, tourist seldom stay off the beaten track. 2001 Guide is a book that encourages the visitors to do so and discover the living museum that is the Las Vegas city.

Which of the following information about 2001 Guide will weaken the intended impact of the book?
A.      The greatest attraction of Las Vega the sets it apart from other places is its casino
B.      2001 Guide does not give a detailed account of the geography of the lesser known facts of Las Vegas
C.      An increasing number of young couples are taking to adventures and undiscovered land.
D.      Las Vegas has many more visitors than first honeymooners
2. The famous theory of relativity was given by Albert Einstein. It stated that time travel is theoretically possible. Let us assume that time travel were to be made possible through some technological breakthrough. Would it not be advantageous to send someone back in time to prevent the assassination of Archduke Frans Fernidnand in 1914 and thus keep world war I from ever occuring?
Which of the following assumptions can be deducted from above argument?

A) It is not possible to alter a significant current in world history merely by changing a single event
B)The technology necessary for time travel is likely to be developed in the near future
C) If Franz Ferdinand had not been assassinated, some other catalytic event would have led to the start of World War I
D) The assassination of Franz Ferdinand was the crucial event that triggered the start of World War I

3. Violation of an Apartment Lease happens when a talent does something prohibited by the legally binding document that she has signed with a landlord. which situation below is the best example of violating an Appartment lease?
A) Tina has decide to move to another town, So she calls her landlord to inform that she is not interested in renewing her lease when it expires next month
B) Varnika recently lost her advertising job and, for the last three months. has neglected to pay her landlord the monthly rent they agreed upon in writting when she moved into her apartment eight month ago .
C) Mayank writes a letter to his landlord that lists numerous complaints about the apartment he has agreed to rent for one and half year
D) Leena thinks that her landlord is neglecting the building in which she rents an apartment. She calls her attorney to ask for advice.



11. Simile
A) Comparison
B) Speech
C) Literature
D)Novel 

Simile is Similarity (or comparison between two different things)
12. Party
A) celebration
B) Tuxedo
C) Appetizer
D) Orator
13. electric bulb
A) Electricity
B) Thunder
C) Brightness
D) rain
14) Oligopoly
A) corrupt
B) gigantic
C) market
D) rich

15 . Cello
A) Teacher
B) Cell Phone
C) strings
D) Band
a wooden musical instrument with four strings

46. My father gifted me a watch runs fast at the rate of 15 seconds per hour. If I have
set my watch correctly at 10 a.m. on Tuesday, what will be the time shown by the watch at 6 p.m. on Saturday?
(a) 6.16 p.m. (b) 6.30 p.m. (c) 6.26 p.m. (d) 5.34 p.m.
47 The value of  [(10)150/(10)146]:
A) 1000
B) 10000
C) 100000
D) 106

 exp:[(10)150/(10)146]:=[(10)150/(10)146]:

(X)m-n



(10)150-146


=(10)4
=100000 
48 . Anand invested Rs. 8000 as fixed deposit scheme for 2 years at compound interese rate 5 % P.a . How much amount will Anand get on maturity of the fixed deposit?
A. Rs. 8,600
B. Rs. 8,620
C. Rs. 8,820
D. None of the options
For Anand first year he will get 400 rs as interest so his deposit amount will be 8400 after first year
For the second year the interest will 420 then the amount after 2 years is 8400+420=8820.

For percentage calculation find 10% of 8000 Rs it is 800 then divide it by 2
so half of 10 % is 5 . Then 5% will be 400.
Like wise 10 % of  8400 is 840
840/2=420
there fore 5% is 420.

49. After the price of apples reduced , it enabled a person to purchase 3 apples for Rs 1 instead of 1.25. What is the percentage of reduction price?
A) 20
B) 25
C) 30
D) 33.33
https://www.competoid.com/quiz_answers/14-0-55232/Question_answers/

find the difference 1.25-1=0.25
(0.25/1.25 )*100=20%

25/125=(1/5)*100=20%
0.41 13%
0.3311


 

NIC Techinal Assistan Exam 2017 Previous Paper with answer Section B

1. Total number of simple graphs that can be drawn using six vertices are:
A.              215
B.              214
C.               213
D.              212

The maximum number of edges possible in a single graph with 'n' vertices is nC2 where nC2 = n(n – 1)/2. The number of simple graphs possible with 'n' vertices = 2nc2 = 2n(n-1)/2.
2n(n-1)/2.
here 6 vertices There fore =6(6-1)/2
=6(5)/2
=30/2
=15
=215
2. If a planner graph, having 25 vertices divides the plane into 17 different regions. Then how many edges are used to connect the vertices in this graph
A.    20
B.     30
C.     40
D.    50
v−e+f=2.
25-e+17=2
25+17-2=e
25+15=e
40=e
3. Non contiguous memory allocation splits program into blocks of memory called --------------- that can be loaded in non adjacent holes in main memory
A. Pages
B. Partition
C.  Frames
D.Segments

 4. The open file table has a/an --------------- associated with each file
A.    File content
B.     File Permission
C.     Open Count
D.    Close Count

Exp: In Operating system the no of process in a open file is open count

5. What is the value of acknowledgement field in a segment?
A.    Number of previous bytes to receive
B.     Total number of bytes to receive
C.     Number of bytes to receive
D.    Sequence of Zero's and one's
                              
6. In a full binary tree number of nodes is 63 then the height of  the tree is
A.    2
B.     4
C.     3
D.    6
 EXP: Maximum number of nodes in a binary tree of height ‘h’ is 2h – 1.
so from options try 2
Then  2h – 1.=63
here h =2
Then  22 – 1.=3
So option A wrong
Then Option B
2h – 1.=63=24 – 1.=16-1=15
4 is greater than 3 so we can skip option C
Then Try for option D
2h – 1.=63
26 – 1.=63
32*2=64-1=63
7. A subnet mask in class C have --------------- 1's with the remaining bits 0's
A)10
B) 24
C) 12
D) 7
8. In a particular system it is observed that. the cache performance gets improved as a result of increasing the block size of the cache. The primary reason behind this is:
A.   Programs exhibits temporal locality
B.   Programs have small working set
C.   Read operation is frequently required rather than write operation
D.   Programs exhibits spatial locality


9. Which layer connects the network support layer and user support layers
A) Transport layer
B) network layer
C) Data link layer
D) Session Layer
Exp: The 7 Layers are

A
P
S
N
D
P
10. In IPv4 Addresses, Class full addressing is replaced with:
A.   Classless Addressing
B.   Class full  Addressing
C.   Subnet Advertising
D.   None of the options
Explanation: In classful addressing, a large part of available addresses are wasted. Thus to solve this classful addressing is replaced with classless addressing.


11. The number of (25)6 in base 6 is equivalent to ...................... in binary number system
A.   11001
B.   10001
C.   11000
D.   10000
Explanation convert 25 as 2*61+5*60
=12+5
=17
convert 17 into binary .
then
17
 Therefore answer is option B

12.  Let P,Q,R be a regular expression over  £ . If P does not contain null string, then R= Q+RP has a unique solution _________. 
A ) Q*P
B) Qp*
C) Q*P*
D) (P*Q*)*

13. Process in a ready state________
A)  when process is scheduled to run after some execution
B) when process is unable to run untill some task has been completed
C) when process is using the CPU
D) none of the options
14. If a random coin tossed 11 times , then what is the probability that for the 7 th toss head appears exactly 4 times?
A) 5/32
B) 15/128
C) 35/128
D) None of the options
15.which of the following statement is true?
A) Melay and Moore machine are language acceptors
B) Finite state automata is language translator
C) NPDA is more powerful than DPDA
D) Melay machine is more powerful than Moore machine
16. The expression 5-2-3*-2 will evaluate to 18 if:
A) '-' is left associative and * has precedence over -
B) - is right associative and * has precedence over '-'
C) - is right associative and - has precedence over *
 D) '-' is left associative and '-' has precedence over '*'
Expl: 5-2-3*-2
(5-2)(-3*-2)
-*-= +
There fore 
3 *6=18
Given two sorted list of size m and n respectively. The number of comparisons needed in the worst case by merge sort algorith will be A) m*n
B) minimum of m,n
C) maximum of m,n
D) m+n-1