PA Feb13 Mcq's
(Note : if u find any mistake or if u remember any other questions except below ping me in below chat I will update it )
1.Which is not inline in html ?
Options :
-
<hr>
-
<br>
-
<img>
-
<a>
Ans : 1
2. Compress file in unix .. ?
Options :
-
Compress
-
Comp
-
Zip
-
gzip
Ans : 3,4
3.Pattern match at beginning of file ?
Options :
-
Pat^
-
Pat$
-
$pat
-
^pat
Ans : 4
4.Length of longest file .. ?
Options :
-
Wc -cl
-
Wc –L <filename>
-
..
-
..
Ans : 2
5.Array in javascript.. ?
Options :
-
List form
-
Tuple form
-
Dictionary form
-
None of these
Ans : 1
6.Color in html not valid .. ?
Options :
-
Color: darkblue
-
Color :#000ff
-
Color : rgb(0,0,255)
-
Color :blue
Ans : 2
7.<img url="sky.jpg" width="100" height="100" opacity="0.25".. ?
Options :
-
Display width and height with low opacity
-
Display width nd height
-
Display image with width and height
-
None of these
Ans : 3
8.Some challenges in Artifical Intelligence ?
Options
-
cost
-
common sense
-
Technology
-
All
Ans : 4
9.Appearence of <ins> tag ?
Options :
-
Italics
-
Underline
-
Bold
-
Unformatted
Ans : 2
10.A link can be image or any other html element ?
Options
-
True
-
false
Ans :1
11.Sort file1| uniq –u
Options :
-
Sort the file name file 1 and diplays distinct lines
-
Find unique lines and sort
-
Command has syntax error
-
Sort the file and display duplicate lines
Ans : 1
12.Judging others based on our culture.. ?
Ans : Ethnocentrism
13.Tcs establised year 1968
14.Kadane algorithm is used to find.. ?
Options
-
Maximum sum subsequence in an array
-
Maximum sum subarray in an array
-
Maximum product subsequence in an array
-
Maximum product subarray in an array
Ans : 2
15.Why we use dynamic Programming approach ?
Options
-
When we need an optimal Solution
-
The solution has optimal substructure
-
The given problem can be reduced to the 3-SAT problem
-
Its faster than Greedy
Ans : 2
16.Decling help .. ?
Options :
-
Ignore help
-
Words are imp no need anything
-
Not decline at first
-
Politely tell that you are busy and you will call later
Ans : 4
17.Study of algorithms that automatically learn itself ?
Options
-
Artifical Intelligent
-
Machine Learning
-
Deep Learning
Ans : 2
18.Transiation phase ?
Options
-
Primary -> Secondary -> KT
-
Secondary -> Primary -> KT
-
KT -> SECONDARY -> PRIMARY
Ans : 3
19.Which algorithm will gives best performance when array is half or almost sorted ?
Options
-
Insertion sort
-
Quick sort
-
Merge sort
-
Selections sort
Ans: 1
20.Client sharing memes..what to do ?
Options
-
Paul should be task oriented and polite and ignore
-
Complain to HR becz its informal..
-
Sending memes as reply nd be friendly..
-
…
Ans : 1
21.Query to delete primary key constraints .. ?
Ans : Drop
22.In which normalization from transitive dependency.. ?
Ans : 3nf