0% found this document useful (0 votes)
74 views20 pages

Answer Sheet:: Category: Analytical

The document contains the answers to several analytical reasoning questions from an assessment. For the first question about a farmer with ducks and pigs, the answer given is that there were 13 pigs and 17 ducks. For the second question about the number of cars in the USA, the answer given is 150 million. For the third question where A = 4 and the equations must equal 17, the answers given are that D = 5 and G = 1.

Uploaded by

sweetzubair
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views20 pages

Answer Sheet:: Category: Analytical

The document contains the answers to several analytical reasoning questions from an assessment. For the first question about a farmer with ducks and pigs, the answer given is that there were 13 pigs and 17 ducks. For the second question about the number of cars in the USA, the answer given is 150 million. For the third question where A = 4 and the equations must equal 17, the answers given are that D = 5 and G = 1.

Uploaded by

sweetzubair
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 20

Answer Sheet: OK

C-ID: c-01-11-00000 Total Time Taken:   01:30:24


Name: Zubair Ansari

C,C++,MySql,Xml,Html,AJAX,PH

Skills:

Category : Analytical
1).
While riding in my villege, I saw
in his yard. I enquired how man
altogether 60 eyes and 86 feet
How many ducks and pigs he h

Pegs - 13
Ducks - 17

- (44) -S/T: Jan/11 01:37:16 E/T: Jan/11 01:44:51   T/T: 07:35


2). What do you think, how man

150 million. ...

- (52) -S/T: Jan/11 01:44:51 E/T: Jan/11 01:46:05   T/T: 01:14


3). A + B + C +D = D + E + F + G

IF A = 4 WHAT ARE THE VALUE

D- 5
G- 1

- (169) -S/T: Jan/11 01:46:05 E/T: Jan/11 01:51:04   T/T: 04:59


Category : VBScript
4). What are the differences be

Private statement variables are


Public statement variables are a
Variables declared w ith Dim at t

- (603) -S/T: Jan/11 01:51:04 E/T: Jan/11 01:54:40   T/T: 03:36


5). What is the command or sym

We can use !-- for w riting rema

- (605) -S/T: Jan/11 01:54:40 E/T: Jan/11 01:57:21   T/T: 02:41


6). What are the brow sers supp

All Brow sers.....

- (609) -S/T: Jan/11 01:57:21 E/T: Jan/11 01:59:41   T/T: 02:20


7). What are benefits w eb page

For redirecting and fetching the

- (610) -S/T: Jan/11 01:59:41 E/T: Jan/11 02:01:37   T/T: 01:56


8). What is the use of optional k

- (612) -S/T: Jan/11 02:01:37 E/T: Jan/11 02:03:33   T/T: 01:56


9). How are hex literals specifie

Returns the character represen

Hex(number)

- (615) -S/T: Jan/11 02:03:33 E/T: Jan/11 02:09:24   T/T: 05:51


10). Write a routine to delete a f

function DeleteAFile(a_strFileNa
' routine deletes a_strFileName
' if delete w as success then r

ALTER ROUTINE

- (620) -S/T: Jan/11 02:09:24 E/T: Jan/11 02:13:04   T/T: 03:40


11). Write a .vbs w hich w ill dele

- (623) -S/T: Jan/11 02:13:04 E/T: Jan/11 02:15:04   T/T: 02:00


Category : VBA
12). In MS Word, w hat is the co

document.formname.fieldname.f

- (635) -S/T: Jan/11 02:15:04 E/T: Jan/11 02:17:10   T/T: 02:06


13).
When you start MS Word, by de
"Document1 - Microsoft Word".
Microsoft Word". Which of the f
a) ActiveDocument.Name="Test

b) ActiveDocument.Name="Test

- (637) -S/T: Jan/11 02:17:10 E/T: Jan/11 02:18:40   T/T: 01:30


14). Which of the follow ing com

a) ActiveWindow .Visible=False
b) ActiveDocument.Visible=Fals
c) ActiveDocument.ActiveWindo

Application.Visible=False

- (638) -S/T: Jan/11 02:18:40 E/T: Jan/11 02:19:18   T/T: 00:38


15). Write a macro procedure w
- (639) -S/T: Jan/11 02:19:18 E/T: Jan/11 02:22:10   T/T: 02:52
16). What is Normal.dot?

Its define the global template

- (640) -S/T: Jan/11 02:22:10 E/T: Jan/11 02:26:47   T/T: 04:37


17). Which of the follow ing com

a) ActiveDocument.GoToEnd
b) Selection.EndKey w dStory
c) ActiveDocument.EndKey w d

a) ActiveDocument.GoToEnd

- (641) -S/T: Jan/11 02:26:47 E/T: Jan/11 02:27:19   T/T: 00:32


18). Which of the follow ing com

a) ActiveDocument.TypeText "T
b) ActioveDocument.Text="This
c) Selection.TypeText "This is a

ActioveDocument.Text="This is

- (642) -S/T: Jan/11 02:27:19 E/T: Jan/11 02:28:14   T/T: 00:55


19). Which of the follow ing com

a) ActiveDocument.Open ("C:\te
b) Documents.Open ("C:\test.do
c) Application.Open ("C:\test.do

b) Documents.Open ("C:\test.do
- (644) -S/T: Jan/11 02:28:14 E/T: Jan/11 02:28:35   T/T: 00:21
Category : Visual Basic 6.0
20). Explain FreeFile function w

Returns an Integer value repres

EXAMPLE

- (4) -S/T: Jan/11 02:28:36 E/T: Jan/11 02:32:48   T/T: 04:12


21). Explain difference betw een

- (7) -S/T: Jan/11 02:32:48 E/T: Jan/11 02:35:46   T/T: 02:58


22). Explain in detail EOF, BOF,

EOF - EndOfFile
BOF - Begining of File
LOCK - LOCk file

- (8) -S/T: Jan/11 02:35:46 E/T: Jan/11 02:39:06   T/T: 03:20


23). Explain w ith an example Sp
- (9) -S/T: Jan/11 02:39:06 E/T: Jan/11 02:40:14   T/T: 01:08
24). What is an API, explain w ith

An
application programming interfac
structures, object classes and/o
and/or operating system service
applications

- (12) -S/T: Jan/11 02:40:14 E/T: Jan/11 02:41:24   T/T: 01:10


25). Differentiate betw een Activ

Activex
DLL
It runs w ithin the main program
fast. It is easy to test.
Activex EXE

- (19) -S/T: Jan/11 02:41:24 E/T: Jan/11 02:43:05   T/T: 01:41


26). How can I set Short Cut ke

- (25) -S/T: Jan/11 02:43:05 E/T: Jan/11 02:47:17   T/T: 04:12


27). Complete this routine w hich

Function DeleteLine(a_strFilena
' If No. of lines found in a_strFi
' Delete a_intLineNo line from a
- (30) -S/T: Jan/11 02:47:17 E/T: Jan/11 02:47:43   T/T: 00:26
Category : MS SQL
28). Which of the follow ing is th

a) CREATE [UNIQUE] INDEX inde


b) CREATE [UNIQUE] INDEX OF
c) CREATE [UNIQUE] INDEX ON

d) CREATE [UNIQUE] INDEX inde

- (203) -S/T: Jan/11 02:47:43 E/T: Jan/11 02:48:26   T/T: 00:43


29). Which of the follow ing is no

a) @@colcount
b) @@error
c) @@row count

e) All are valid global variables

- (220) -S/T: Jan/11 02:48:26 E/T: Jan/11 02:48:59   T/T: 00:33


30). What is a NOLOCK?

Using NOLOCK politely asks SQ


read directly from the tables. Th
circumvent the lock system, w h
and scalability improvement

- (260) -S/T: Jan/11 02:48:59 E/T: Jan/11 02:50:29   T/T: 01:30


31). What is the STUFF function

STUFF - Delete a specified leng


another set of characters at a s

- (269) -S/T: Jan/11 02:50:29 E/T: Jan/11 02:51:54   T/T: 01:25


32). How do you use DBCC sta

DBCC stands for database cons


DBCC CHECKDB

- (276) -S/T: Jan/11 02:51:54 E/T: Jan/11 02:54:10   T/T: 02:16


33). What id de-normalization an

Denormalization is a technique t
normal forms of database mode
database access

- (284) -S/T: Jan/11 02:54:10 E/T: Jan/11 02:55:38   T/T: 01:28


34). What is better - 2nd Norma

2NF: Eliminate Redundant Data

3NF: Eliminate Columns Not Dep

Third Normal form is better then

- (285) -S/T: Jan/11 02:55:38 E/T: Jan/11 02:58:40   T/T: 03:02


35). Which virtual table does a t

Triggers use magic tables(inser

- (306) -S/T: Jan/11 02:58:40 E/T: Jan/11 02:59:51   T/T: 01:11


36).
I w ould like to insert a row into t
columns: EMPID, LASTNAME, an
EMPID 59694, LASTNAME Harris
best? a) INSERT INTO employee

c) INSERT INTO employee (EMPI

- (313) -S/T: Jan/11 02:59:51 E/T: Jan/11 03:00:47   T/T: 00:56


37). Which tw o of the follow ing

a) ABS
b) ASC
c) DESC

b) ASC
c) DESC

- (319) -S/T: Jan/11 03:00:47 E/T: Jan/11 03:01:13   T/T: 00:26


Category : Visual Basic .Net
38). What is LeaseTime,Sponso
- (380) -S/T: Jan/11 03:01:13 E/T: Jan/11 03:01:48   T/T: 00:35
39). What’s difference betw een

Overriding redefines only the im


w hole element.

In overriding derived classes ca


keyw ord , but in shadow ing you

- (387) -S/T: Jan/11 03:01:48 E/T: Jan/11 03:02:49   T/T: 01:01


40). How can w e save all data

Through the data Adaptor

- (482) -S/T: Jan/11 03:02:49 E/T: Jan/11 03:04:22   T/T: 01:33


41). What’s the use of Comman

To w rite the sql Command and e

- (490) -S/T: Jan/11 03:04:22 E/T: Jan/11 03:04:56   T/T: 00:34


42). What is CODE Access sec

Framew ork provides the securi


- (511) -S/T: Jan/11 03:04:56 E/T: Jan/11 03:05:52   T/T: 00:56
43). Can you describe IUKNOW

Every COM object supports at le


classes derived from the base c
perform operations transparent

- (512) -S/T: Jan/11 03:05:52 E/T: Jan/11 03:06:46   T/T: 00:54


44). Once i have developed the

Yes

- (549) -S/T: Jan/11 03:06:46 E/T: Jan/11 03:07:20   T/T: 00:34


45). A Web service can only be

No

- (581) -S/T: Jan/11 03:07:20 E/T: Jan/11 03:07:41   T/T: 00:21

Question: While riding in my villege, I saw a farmer tending his pegs and ducks in his yard. I enquired
how many of each he had. He replied- "I have altogether 60 eyes and 86 feet between them."

How many ducks and pigs he had exactly? What do you think is the answer?
Pegs - 13

Ducks - 17

Question: What do you think, how many cars are there in USA?

150 million. ...

Question: A + B + C +D = D + E + F + G = G + H + I =17.

IF A = 4 WHAT ARE THE VALUES OF D AND G. EACH LETTER TAKEN ONLY ONE OF THE DIGIT FROM 1 TO
9.

Question: What are the differences between the Dim, Public, and Private Statements in VBScript?

Private statement variables are available only to the VBScript in which they are declared.

Public statement variables are available to all procedures in all VBScript

Variables declared with Dim at the VBScript level are available to all procedures within the VBScript

Question: What is the command or symbol used in VBScript for writing remarks?

We can use !-- for writing remarks

Question: What are the browsers supported by VBScript?

Question: What are benefits web pages achieve by using VBScript?

Question: What is the use of optional key word in VBScript?


Question: How are hex literals specified in VBScript?

Question: Write a routine to delete a file.

function DeleteAFile(a_strFileName)

' routine deletes a_strFileName if exists

' if delete was success then returns true else false

end function

Question: Write a .vbs which will delete a file. FileName to delete will be passed in as first command line
argument.

Question: In MS Word, what is the command that returns name of word document currently having
focus?

Question: When you start MS Word, by default the open balnk document has a title "Document1 -
Microsoft Word". You want to change this to read "Test - Microsoft Word". Which of the following
commands will do as desired.

a) ActiveDocument.Name="Test"

b) ActiveDocument.Name="Test - Microsoft Word"

c) ActiveDocument.ActiveWindow.Caption="Test"

d) ActiveDocument.ActiveWindow.Caption="Test - Microsoft Word"

Question: Which of the following commands you use to make active MS Word document in-visible?
a) ActiveWindow.Visible=False

b) ActiveDocument.Visible=False

c) ActiveDocument.ActiveWindow.Visible=False

d) Application.Visible=False

Question: Write a macro procedure which will disbale "File->New" menu option.

Question: What is Normal.dot?

Question: Which of the following commands you use to go to end of the document?

a) ActiveDocument.GoToEnd

b) Selection.EndKey wdStory

c) ActiveDocument.EndKey wdText

d) Application.GoToEnd

Question: Which of the following command you use to type "This is a test" in active document.

a) ActiveDocument.TypeText "This is a test"

b) ActioveDocument.Text="This is a test"

c) Selection.TypeText "This is a test"

d) Application.EnterText "This is a test"

Question: Which of the following commands you use to open "c:\test.doc" document?
a) ActiveDocument.Open ("C:\test.doc")

b) Documents.Open ("C:\test.doc")

c) Application.Open ("C:\test.doc")

d) Window.Open ("C:\test.doc")

Question: Explain FreeFile function with an eg.

Question: Explain difference between Input and Line Input statements.

Question: Explain in detail EOF, BOF, Lock and LOC fuctions with reference to file manipulations.

Question: Explain with an example Spc() function

Question: What is an API, explain with an Eg.

Question: Differentiate between Active X DLL and Active X EXE

Question: How can I set Short Cut keys for few text boxes drawn on a form?

Question: Complete this routine which will delete passed line from a text file.

Function DeleteLine(a_strFilename As String, a_intLineNo As Long) As Boolean

' If No. of lines found in a_strFileName < a_intLineNo then do nothing

' Delete a_intLineNo line from a_strFileName text file and save it
' return True if success

End Function

Question: Which of the following is the syntax for creating an Index?

a) CREATE [UNIQUE] INDEX index_name OF tbl_name (index_columns)

b) CREATE [UNIQUE] INDEX OF tbl_name (index_columns)

c) CREATE [UNIQUE] INDEX ON tbl_name (index_columns)

d) CREATE [UNIQUE] INDEX index_name ON tbl_name (index_columns)

Question: Which of the following is not a global variable?

a) @@colcount

b) @@error

c) @@rowcount

d) @@version

e) All are valid global variables

Question: What is a NOLOCK?

Question: What is the STUFF function and how does it differ from the REPLACE function?

Question: How do you use DBCC statements to monitor various aspects of a SQL server installation?
DBCC stands for database consistency checker.

DBCC CHECKDB – Ensures that tables in the db and the indexes are

correctly linked.and

DBCC CHECKALLOC To check that all

pages in a db are correctly allocated. DBCC SQLPERF – It

gives report on current usage of transaction log in

percentage.

DBCC CHECKFILEGROUP – Checks all tables file

group for any damage.

Question: What id de-normalization and when do you do it?

Question: What is better - 2nd Normal form or 3rd normal form? Why?

Question: Which virtual table does a trigger use?

Question: I would like to insert a row into the EMPLOYEE table, which has three columns: EMPID,
LASTNAME, and SALARY. I would like to enter data for EMPID 59694, LASTNAME Harris, but no salary.
Which statement would work best?

a) INSERT INTO employee VALUES (59694,’HARRIS’, NULL);

b) INSERT INTO employee VALUES (59694,’HARRIS’);

c) INSERT INTO employee (EMPID, LASTNAME, SALARY) VALUES (59694,’HARRIS’);


d) INSERT INTO employee (SELECT 59694 FROM ‘HARRIS’);

Question: Which two of the following orders are used in ORDER BY clauses? (choose two)

a) ABS

b) ASC

c) DESC

d) DISC

Question: What is LeaseTime,SponsorshipTime ,RenewonCallTime and LeaseManagerPollTime?

Question: What’s difference between Shadowing and Overriding ?

Question: How can we save all data from dataset ?

Question: What’s the use of CommandBuilder ?

Question: What is CODE Access security?

Question: Can you describe IUKNOWN interface in short ?

Question: Once i have developed the COM wrapper do i have to still register the COM in registry?

Question: A Web service can only be written in .NET?

You might also like