PUZZLES FOR JOB EXAMS


1.Three friends divided some bullets equally. After all of them shot 4 bullets the total number of bullets remaining is equal to the bullets each had after division. Find the original number divided.
18

2.Find sum of digits of D.
Let A= 19991999
B = sum of digits of A, C = sum of digits of B, D = sum of digits of C. (HINT: A = B = C = D (mod 9))

3.There is a 50m long army platoon marching ahead. The last person in the platoon wants to give a letter to the first person leading the platoon. So while the platoon is marching he runs ahead, reaches the first person and hands over the letter to him and without stopping he runs and comes back to his original position.
In the mean time the whole platoon has moved ahead by 50m.
The question is how much distance did the last person cover in that time. Assuming that he ran the whole distance with uniform speed.

4.If you take a marker & start from a corner on a cube, what is the maximum number of edges you can trace across if you never trace across the same edge twice, never remove the marker from the cube, & never trace anywhere on the cube, except for the corners & edges?

9
5.One of Mr. Bajaj, his wife, their son and Mr. Bajaj's mother is an Engineer and another is a Doctor.
If the Doctor is a male, then the Engineer is a male.
If the Engineer is younger than the Doctor, then the Engineer and the Doctor are not blood relatives.
If the Engineer is a female, then she and the Doctor are blood relatives.
Can you tell who is the Doctor and the Engineer?


6.Three men - Sam, Cam and Laurie - are married to Carrie, Billy and Tina, but not necessarily in the same order.
Sam's wife and Billy's Husband play Carrie and Tina's husband at bridge. No wife partners her husband and Cam does not play bridge.
Who is married to Cam?

7.There are 3 persons X, Y and Z. On some day, X lent tractors to Y and Z as many as they had. After a month Y gave as many tractors to X and Z as many as they have. After a month Z did the same thing. At the end of this transaction each one of them had 24.
Find the tractors each originally had?

8.A certain street has 1000 buildings. A sign-maker is contracted to number the houses from 1 to 1000. How many zeroes will he need?

9.There are 9 coins. Out of which one is odd one i.e weight is less or more. How many iterations of weighing are required to find odd coin?

10.In a sports contest there were m medals awarded on n successive days (n > 1).
On the first day 1 medal and 1/7 of the remaining m - 1 medals were awarded.
On the second day 2 medals and 1/7 of the now remaining medals was awarded; and so on.
On the nth and last day, the remaining n medals were awarded.
How many days did the contest last, and how many medals were awarded altogether?

11.A number of 9 digits has the following properties:
The number comprising the leftmost two digits is divisible by 2, that comprising the leftmost three digits is divisible by 3, the leftmost four by 4, the leftmost five by 5, and so on for the nine digits of the number i.e. the number formed from the first n digits is divisible by n, 2<=n<=9.
Each digit in the number is different i.e. no digits are repeated.
The digit 0 does not occur in the number i.e. it is comprised only of the digits 1-9 in some order.
Find the number.

12. 1/3 rd of the contents of a container evaporated on the 1st day. 3/4th of the remaining contents of the container evaporated on the second day.
What part of the contents of the container is left at the end of the second day?
(x-1/3x)-((x-1/3x)3/4)=2/3x-1/2x= 1/6x

13.Vipul was studying for his examinations and the lights went off. It was around 1:00 AM. He lighted two uniform candles of equal length but one thicker than the other. The thick candle is supposed to last six hours and the thin one two hours less. When he finally went to sleep, the thick candle was twice as long as the thin one.
For how long did Vipul study in candle light? 3 hrs

14.If you started a business in which you earned Rs.1 on the first day, Rs.3 on the second day, Rs.5 on the third day, Rs.7 on the fourth day, & so on.
How much would you have earned with this business after 50 years (assuming there are exactly 365 days in every year)?

15.A worker earns a 5% raise. A year later, the worker receives a 2.5% cut in pay, & now his salary is Rs. 22702.68
What was his salary to begin with?

16.At 6'o a clock ticks 6 times. The time between first and last ticks is 30 seconds. How long does it tick at 12'o.

17.In Mr. Mehta's family, there are one grandfather, one grandmother, two fathers, two mothers, one father-in-law, one mother-in-law, four children, three grandchildren, one brother, two sisters, two sons, two daughters and one daughter-in-law. How many members are there in Mr. Mehta's family? Give minimal possible answer.

19.When Alexander the Great attacked the forces of Porus, an Indian soldier was captured by the Greeks. He had displayed such bravery in battle, however, that the enemy offered to let him choose how he wanted to be killed. They told him, "If you tell a lie, you will put to the sword, and if you tell the truth you will be hanged."
The soldier could make only one statement. He made that statement and went free. What did he say?

20.A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gave him Y rupees and X paise. Neither the person nor the cashier noticed that.
After spending 20 paise, the person counts the money. And to his surprise, he has double the amount he wanted to withdraw.
Find X and Y. (1 Rupee = 100 Paise)

Stumble Upon Toolbar

JOB  SITES FOR FRESHERS....

http://WWW.FRESHERSWORLD.COM
http://WWW.MONSTER.COM
http://WWW.NAUKRI.COM
http://WWW.YUVAJOBS.COM
http://WWW.VYOMS.COM
http://WWW.INDIANFRESHERS.COM
http://WWW.FRESHERSHOME.COM
http://WWW.CAREERS-INDIA.COM
http://WWW.TOPJOBS.COM
www.chetanafresherjobs.com/
www.freshersdreams.com/
www.jobs4freshers.com/
freshers-hotjobs.blogspot.com/
freshers.jobsinhyderabad.com/
http://WWW.JOBTRAK.COM
http://WWW.OVERSEASJOBS.COM

http://WWW.JOBNTEWORK.COM
placementpapers.net/


JOB SITES FOR ALL.....

YAHOO! HotJobs
http://WWW.JOBCENTRAL.COM
http://WWW.COLLEGERECRUITER.COM
http://WWW.CAREERBUILDER.COM
http://WWW.MONSTER.COM
http://WWW.JOB.COM
http://WWW.CAREER.COM 
http://WWW.NAUKRI.COM
http://WWW.YUVAJOBS.COM
http://WWW.VYOMS.COM
http://WWW.VALLEYJOBS.COM
http://WWW.MANPOWER.COM
http://WWW.J2K.COM
http://WWW.RECRUITERSONLINE.COM
http://WWW.HKJOBS.COM
http://WWW.CEWEEKLY.COM
http://WWW.CAREERJOBS.COM
http://WWW.CAREERONLINE.COM

http://WWW.TECHLES.COM
http://WWW.TOPJOBUSA.COM
http://WWW.AIRSDIRECTORY.COM
http://WWW.ESPAN.COM
http://WWW.CAREERMONT.COM
http://WWW.BANKJOBS.COM
http://WWW.EMPLOYMENT.BYRON.COM.AU
http://WWW.CAREERMAG.COM
http://WWW.TEACHERJOBS.COM
http://WWW.JOBS-CAREER.BE
http://WWW.MEDIMATRIX.ORG
http://WWW.MEDILINK.COM
http://WWW.URGENTCAREJOBS.COM
http://WWW.INTERNALMEDICINEJOBS.COM
http://WWW.BYRON.COM.AU
http://WWW.JOB.COM
http://WWW.JOBSERVE.COM
http://WWW.1-JOBS.COM
http://WWW.CAREERCITY.COM

Stumble Upon Toolbar

SQL QUESTIONS & ANSWERS

1. Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
Data Definition Language (DDL)

2. What operator performs pattern matching?
LIKE operator

3. What operator tests column for the absence of data?
IS NULL operator

4. Which command executes the contents of a specified file?
START or @

5. What is the parameter substitution symbol used with INSERT INTO command?
&

6. Which command displays the SQL command in the SQL buffer, and then executes it?
RUN

7. What are the wildcards used for pattern matching?
_ for single character substitution and % for multi-character substitution

8. State true or false. EXISTS, SOME, ANY are operators in SQL.
True

9. State true or false. !=, <>, ^= all denote the same operation.
True

10. What are the privileges that can be granted on a table by a user to others?
Insert, update, delete, select, references, index, execute, alter, all

11. What command is used to get back the privileges offered by the GRANT command?
REVOKE

12. Which system tables contain information on privileges granted and privileges obtained?
USER_TAB_PRIVS_MADE, USER_TAB_PRIVS_RECD

13. Which system table contains information on constraints on all the tables created?
USER_CONSTRAINTS

14. TRUNCATE TABLE EMP;
DELETE FROM EMP;
Will the outputs of the above two commands differ?
Both will result in deleting all the rows in the table EMP.

15. What is the difference between TRUNCATE and DELETE commands?
TRUNCATE is a DDL command whereas DELETE is a DML command. Hence DELETE operation can be rolled back, but TRUNCATE operation cannot be rolled back. WHERE clause can be used with DELETE and not with TRUNCATE.

16. What command is used to create a table by copying the structure of another table?
Answer :
CREATE TABLE .. AS SELECT command
Explanation :
To copy only the structure, the WHERE clause of the SELECT command should contain a FALSE statement as in the following.
CREATE TABLE NEWTABLE AS SELECT * FROM EXISTINGTABLE WHERE 1=2;
If the WHERE condition is true, then all the rows or rows satisfying the condition will be copied to the new table.

17. What will be the output of the following query?
SELECT REPLACE(TRANSLATE(LTRIM(RTRIM('!! ATHEN !!','!'), '!'), 'AN', '**'),'*','TROUBLE') FROM DUAL;
TROUBLETHETROUBLE

18. What will be the output of the following query?
SELECT DECODE(TRANSLATE('A','1234567890','1111111111'), '1','YES', 'NO' );
Answer :
NO
Explanation :
The query checks whether a given string is a numerical digit.

19. What does the following query do?
SELECT SAL + NVL(COMM,0) FROM EMP;
This displays the total salary of all employees. The null values in the commission column will be replaced by 0 and added to salary.


20. Which date function is used to find the difference between two dates?
MONTHS_BETWEEN

21. Why does the following command give a compilation error?
DROP TABLE &TABLE_NAME;
Variable names should start with an alphabet. Here the table name starts with an '&' symbol.

22. What is the advantage of specifying WITH GRANT OPTION in the GRANT command?
The privilege receiver can further grant the privileges he/she has obtained from the owner to any other user.

23. What is the use of the DROP option in the ALTER TABLE command?
It is used to drop constraints specified on the table.

24. What is the value of ‘comm’ and ‘sal’ after executing the following query if the initial value of ‘sal’ is 10000?
UPDATE EMP SET SAL = SAL + 1000, COMM = SAL*0.1;
sal = 11000, comm = 1000

25. What is the use of DESC in SQL?
Answer :
DESC has two purposes. It is used to describe a schema as well as to retrieve rows from table in descending order.
Explanation :
The query SELECT * FROM EMP ORDER BY ENAME DESC will display the output sorted on ENAME in descending order.

26. What is the use of CASCADE CONSTRAINTS?
When this clause is used with the DROP command, a parent table can be dropped even when a child table exists.

27. Which function is used to find the largest integer less than or equal to a specific value?
FLOOR

28. What is the output of the following query?
SELECT TRUNC(1234.5678,-2) FROM DUAL;
1200


Stumble Upon Toolbar

JOB INTERVIEWS DO's and DONT's

Here are the keys to successful job interviewing.
Follow these simple rules and you should achieve success in this important phase of job-hunting.

• Do take a practice run to the location where you are having the interview -- or be sure you know exactly where it is and how long it takes to get there.

• Do your research and know the type of job interview you will be encountering. And do prepare and practice for the interview, but don't memorize or over-rehearse your answers. Do dress the part for the job, the company, the industry. And do err on the side of conservatism. If you're not sure, you should consider reading our article.

• Do plan to arrive about 10 minutes early. Late arrival for a job interview is never excusable. If you are running late, do phone the company.

• Do greet the receptionist or assistant with courtesy and respect. This is where you make your first impression.

• Don't chew gum during the interview.

• If presented with a job application, do fill it out neatly, completely, and accurately.

• Do bring extra resumes to the interview. (Even better, if you have a job skills portfolio, do bring that with you to the interview.)

• Don't rely on your application or resume to do the selling for you. No matter how qualified you are for the position, you will need to sell yourself to the interviewer.

• Do greet the interviewer(s) by title (Ms., Mr., Dr.) and last name if you are sure of the pronunciation. (If you're not sure, do ask the receptionist about the pronunciation before going into the interview.

• Do shake hands firmly. Don't have a limp or clammy handshake!

• Do wait until you are offered a chair before sitting. And do remember body language and posture: sit upright and look alert and interested at all times. Don't fidget or slouch.

• Don't tell jokes during the interview.

• Do make good eye contact with your interviewer(s).

• Do show enthusiasm in the position and the company.

• Don't smoke, even if the interviewer does and offers you a cigarette. And don't smoke beforehand so that you smell like smoke. And do brush your teeth, use mouthwash, or have a breath mint before the interview.

• Do avoid using poor language, slang, and pause words (such as "like," "uh," and "um").

• Don't be soft-spoken. A forceful voice projects confidence.

• Do have a high confidence and energy level, but don't be overly aggressive.

• Don't act as though you would take any job or are desperate for employment.

• Do avoid controversial topics.

• Don't say anything negative about former colleagues, supervisors, or employers.

• Do make sure that your good points come across to the interviewer in a factual, sincere manner.

• Don't ever lie. Answer questions truthfully, frankly and succinctly. And don't over-answer questions.

• Do stress your achievements. And don't offer any negative information about yourself.

• Don't answer questions with a simple "yes" or "no." Explain whenever possible. Describe those
things about yourself that showcase your talents, skills, and determination. Give examples.

• Do show off the research you have done on the company and industry when responding to questions.

• Don't bring up or discuss personal issues or family problems.

• Do remember that the interview is also an important time for you to evaluate the interviewer and the company she represents.

• Don't respond to an unexpected question with an extended pause or by saying something like, "boy, that's a good question." And do repeat the question outloud or ask for the question to be repeated to give you a little more time to think about an answer. Also, a short pause before responding is okay.

• Do always conduct yourself as if you are determined to get the job you are discussing. Never close the door on an opportunity until you are sure about it.

• Don't answer cell phone calls during the interview, and do turn off (or set to silent ring) your cell phone and/or pager.

• Do show what you can do for the company rather than what the company can do for you.

• Don't inquire about salary, vacations, bonuses, retirement, or other benefits until after you've received an offer. Be prepared for a question about your salary requirements, but do try and delay salary talk until you have an offer. (You might consider visiting our salary tutorial for more tips and strategies.)

• Do ask intelligent questions about the job, company, or industry. Don't ever not ask any questions -- it shows a lack of interest.

• Do close the interview by telling the interviewer(s) that you want the job and asking about the next step in the process. (Some experts even say you should close the interview by asking for the job.)

• Do try and get business cards from each person you interviewed with -- or at least the correct spelling of their first and last names. And don't make assumptions about simple names -- was it Jon or John -- get the spelling.

• Do immediately take down notes after the interview concludes so you don't forget crucial details.

• Do write thank you letters within 24 hours to each person who interviewed you.

by Randall S. Hansen, Ph.D

Stumble Upon Toolbar

FREQUENTLY ASKED JAVA QUESTIONS WITH ANSWERS

1.what is a transient variable?
A transient variable is a variable that may not be serialized.

2.which containers use a border Layout as their default layout?
The window, Frame and Dialog classes use a border layout as their default layout.

3.Why do threads block on I/O?
Threads block on i/o (that is enters the waiting state) so that other threads may execute while the i/o Operation is performed.

4. How are Observer and Observable used?
Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.

5. What is synchronization and why is it important?
With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.

6. Can a lock be acquired on a class?
Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object..

7. What's new with the stop(), suspend() and resume() methods in JDK 1.2?
The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.

8. Is null a keyword?
The null value is not a keyword.

9. What is the preferred size of a component?
The preferred size of a component is the minimum component size that will allow the component to display normally.

10. What method is used to specify a container's layout?
The setLayout() method is used to specify a container's layout.

11. Which containers use a FlowLayout as their default layout?
The Panel and Applet classes use the FlowLayout as their default layout.

12. What state does a thread enter when it terminates its processing?
When a thread terminates its processing, it enters the dead state.

13. What is the Collections API?
The Collections API is a set of classes and interfaces that support operations on collections of objects.

14. Which characters may be used as the second character of an identifier,
but not as the first character of an identifier?
The digits 0 through 9 may not be used as the first character of an identifier but they may be used after the first character of an identifier.

15. What is the List interface?
The List interface provides support for ordered collections of objects.

16. How does Java handle integer overflows and underflows?
It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.

17. What is the Vector class?
The Vector class provides the capability to implement a growable array of objects

18. What modifiers may be used with an inner class that is a member of an outer class?
A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.

19. What is an Iterator interface?
The Iterator interface is used to step through the elements of a Collection.

20. What is the difference between the >> and >>> operators?
The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out.

21. Which method of the Component class is used to set the position and
size of a component?
setBounds()

22. How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?
Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns.

23What is the difference between yielding and sleeping?
When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.

24. Which java.util classes and interfaces support event handling?
The EventObject class and the EventListener interface support event processing.

25. Is sizeof a keyword?
The sizeof operator is not a keyword.

26. What are wrapped classes?
Wrapped classes are classes that allow primitive types to be accessed as objects.

27. Does garbage collection guarantee that a program will not run out of memory?
Garbage collection does not guarantee that a program will not run out of memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection

28. What restrictions are placed on the location of a package statement
within a source code file?
A package statement must appear as the first line in a source code file (excluding blank lines and comments).

29. Can an object's finalize() method be invoked while it is reachable?
An object's finalize() method cannot be invoked by the garbage collector while the object is still reachable. However, an object's finalize() method may be invoked by other objects.

30. What is the immediate superclass of the Applet class?
Panel

31. What is the difference between preemptive scheduling and time slicing?
Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks. The scheduler then determines which task should execute next, based on priority and
other factors.

32. Name three Component subclasses that support painting.
The Canvas, Frame, Panel, and Applet classes support painting.

33. What value does readLine() return when it has reached the end of a file?
The readLine() method returns null when it has reached the end of a file.

34. What is the immediate superclass of the Dialog class?
Window

35. What is clipping?
Clipping is the process of confining paint operations to a limited area or shape.

36. What is a native method?
A native method is a method that is implemented in a language other than Java.

37. Can a for statement loop indefinitely?
Yes, a for statement can loop indefinitely. For example, consider the following:
for(;;) ;

38. What are order of precedence and associativity, and how are they used?
Order of precedence determines the order in which operators are evaluated in expressions. Associatity determines whether an expression is evaluated left-to-right or right-to-left

39. When a thread blocks on I/O, what state does it enter?
A thread enters the waiting state when it blocks on I/O.

40. To what value is a variable of the String type automatically initialized?
The default value of an String type is null.

41. What is the catch or declare rule for method declarations?
If a checked exception may be thrown within the body of a method, the method must either catch the exception or declare it in its throws clause.

42. What is the difference between a MenuItem and a CheckboxMenuItem?
The CheckboxMenuItem class extends the MenuItem class to support a menu item that may be checked or unchecked.

43. What is a task's priority and how is it used in scheduling?
A task's priority is an integer value that identifies the relative order in which it should be executed with respect to other tasks. The scheduler attempts to schedule higher priority tasks before lower priority tasks.

44. What class is the top of the AWT event hierarchy?
The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy.

45. When a thread is created and started, what is its initial state?
A thread is in the ready state after it has been created and started.

46. Can an anonymous class be declared as implementing an interface and extending a class?
An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.

47. What is the range of the short type?
The range of the short type is -(2^15) to 2^15 - 1.

48. What is the range of the char type?
The range of the char type is 0 to 2^16 - 1.

49. In which package are most of the AWT events that support the event-delegation
model defined?
Most of the AWT-related events of the event-delegation model are defined in the java.awt.event package. The AWTEvent class is defined in the java.awt package.

50. What is the immediate superclass of Menu?
MenuItem

Stumble Upon Toolbar

RDBMS
==============

1) When a single entity is related to itself then the relationship is
termed as
A) ONE -TO-ONE
B) ONE-TO-MANY
C) RECURSIVE
D) MANY-TO-MANY

2)_____ means allowing objects of different types to be
considered as examples of higher level set
A) AGGREGATION
B) SPECIALIZATION
C) GENERALIZATION
D) DECOMPOSITION

3) The primary characteristic of a key field as that it must be
A) A NAME
B) TEXT
C) UNIQUE
D) ALL OF THE OTHER OPTION LISTED FOR THIS QUESTION

4) What kind of relationship exist between customers and salespersons if
each customer may have one or more salespersons, and each salesperson
may have one or more customers?
A) one-to-one
B) one to many
C) many to many
D) many to one

5) The following is a valid SET operation.
A) Join
B) Insert
C) Select
D) Difference

6) In an employ table, the field which can be taken as a Primary key
A) name
B) employ_id
C) age


7) A relation R is said to be in the , if it is in BCNF and
there are non-trivial multi valued dependencies.
A) 1st NF
B) 2nd NF
C) 3rd NF
D) 4th NF

8) A occurs when a weak entity does not have a
candidate key and its instances are indistinguishable without a
relationship with another entity.
A) Existence dependency
B) Identifier dependency
C) Referential dependency
D) None of the other option listed for this question

9) ____ is /are sample(s) of data model.
A) Relational
B) Rational
C) Entity- relationship
D) None of the other option listed for this question

10) In hierarchical database,
A) There is one to many relationship
B) A child may have more than one parent
C) A parent may have more than one child
D) There is no restriction on the number of parents a child may have or
the number of children a parent may have

11) The term "inner join" refers to:
A) Joins between two tables in the same schema.
B) An equality join based on one column from each table.
C) A table joined with itself.
D) A Cartesian product join.

12) Which type of join is used in this query?

SELECT last_name "Name", hire_date "Hire Date", loc "Location"
FROM employee, department
WHERE employee.deptno = department.deptno.
A) Outer join
B) Self join
C) Equijoin
D) Non-equijoin

13) A sales database has two table - SALESPERSON and CUSTOMERS as below:

SALESPEOPLE
------------------------------------------------------
snum NUMBER
sname VARCHAR2(10)

CUSTOMER
------------------------------------------------------
snum NUMBER
cname VARCHAR2(10)

The management wants to know the mapping of salespersons to their
Customers without excluding those salespersons that are not currently assigned.
What would be the most appropriate condition, which can be applied on the
Query to accomplish the above task?

A) salespeople.snum(+) = customers.snum
B) salespeople.snum = customers.snum(+)
C) salespeople.snum = customers.snum
D) salespeople.snum(+) = customers.snum(+)

14) join returns those rows from a table which have
no direct match in the other table.

A) Outer join
B) Inner join
C) Equi join
D) Self join

15) To produce a meaningful result set without any Cartesian products,
What is the minimum number of conditions that should appear in the WHERE
clause of a four table join?

A) 1
B) 4
C) 2
D) 8

Stumble Upon Toolbar

UNIX Questions
================================

1) Which one works as a command interpretor
A) Hardware B) Kernal C) Shell D) CPU

2) The major no for a floppy disk device is
A) 1 B) 3 C) 2 D) 4

3) chown
A) Changes the mode of operation to kernel mode
B) Creates a thread
C) Changes the users and/or group ownership of each given file
D) Creates a child process

4) lilo
A) Uninstalls the boot loader
B) Installs the boot loader
C) Is a login utility
D) Invokes a daemon to logoff

5) netdevice
A) Provides low level access to Linux network devices
B) Provides low level access to Linux storage devices
C) Provides an interface to communicate with graphic devices
D) None of the other option listed for this question

6) The process which terminates before the parent process exits, is
called
as
A) Zombie
B) Orphan
C) Child
D) None of the other option listed for this question

7) Context switch means
A) Kernel switches from executing one process to another.
B) Process switches from kernel mode to user mode.
C) Process switches from user mode to kernel mode.
D) None of the other option listed for this question

8) The following socket provides two way, sequenced, reliable and
unduplicated flow of data with no record boundaries.
A) Sequential packet socket
B) Datagram socket
C) Stream socket
D) Raw socket

9) Identify the point(s) that is not true w.r.t. signals

A) Signals are software generated interrupts that are sent to a process
when an event happens
B) Signal delivery is analogous to hardware interrupts in that a signal
can be blocked from being delivered in the future.
C) Most signals are synchronous by nature.
D) Most signal cause termination of the receiving process if no action
is taken by the process in response to the signal.

10) Identify the point(s) that is true with respect to Semaphore

A) Only one process at a time can update a semaphore.
B) All the other options listed for this question
C) They are often used to monitor and control the availability of system
resources such as shared memory segments.
D) Is a process with exclusive use of a semaphore terminates abnormally
and fails to undo the operation or free the semaphore, the semaphore stays
locked in the state the process left it.

Questions related to shell scripting...
11)What is the use of script function?

12)Difference of uses of 'mv' function and 'rm' function

13)'chmod' function

14)'head' and 'tail' function

15)'grep' function

Stumble Upon Toolbar

VERIZON TECHNICAL PAPER
====================================

VERIZON PAPER PATTERN

The test consist 4 sections
For each section there will be specific time limit.
----------------------------------------------------------

First section (25 question time 15 min )

It consist 2 types of questions
I. Fill in the blanks.
II. Reading Comprehension

Second section (Mental Ability 20 min)

Third section (Quantitative aptitude and logical reasoning min 35 -25 ques)

Fourth section (Technical) 15 question 20 min


Logical Reasoning Questions.
----------------------------------------------

One hundred and twenty five small cube of equal size are
arranged in a solid pile of dimension 5*5*5 .Then from one corner
one cube is removed from the top. From the opposite corner 8 cubes
(2*2*2) are removed from the third corner a column of three cubes and
from the fourth corner a column of 4 cubes r removed the remaining
solid are coloured red on all the exposed faces...

1. How many cubes in the second layer from the top do not have any
coloured face
ans : 6

2: How many cubes in the third layer have at least two coloured faces each
ans :8

3: How many cubes in the fourth layer from the top have only one colour face each..
ans :10

4: How many cubes in the bottom layer have at least one coloured face each
ans :16

5: How many cubes in the top four layers taken together have only one coloured
face each
ans:29

6: How many cubes do not have any colour face
ans : 32

7: How many cubes have three colour faces each
ans :12

8: How many cubes have only two colour faces each?
ans :24

9: How many cubes have only one colour faces each?
ans : 41

10: How many cubes are there in the top layer ?
ans : 18


C LANGUAGE TOPICS
---------------------------------

DFS,
Arrays,
Pointer concept,
Linked lists,
Queue,
Stacks,
Structures,
Unions,
File handling commands.

Technical Section
-------------------------
Which one is not needed for Multi-program environment?

Virtual memory,
Security,
Time sharing,
none of the above.

Which one is not done by Data link layer ?

Bit stuffing,
LRC,
CRC,
Parity check

What is the function of Data link layer?

Which one is not suitable for client-server application?
tcp/ip,
message passing,
rpc,
none of the above.

Term stickily bit is related to
a)kernel
b)undeletable file
c)none

What is the function of Semaphore variable ?

Unix system is

a)multi processing
b)multi processing, multiuser
c)multi processing , multiuser, multitasking
d)multiuser, multitasking

x.25 protocol encapsulates the following layers

a)network
b)datalink
c)physical
d)all of the above
e)none of the above

TCP/IP can work on

a)ethernet
b)tokenring
c)a&b
d)none

A node has the ip address 138.50.10.7 and 138.50.10.9.But it is
transmitting data from node1 to node2only. The reason may be

a)a node cannot have more than one address
b)class A should have second octet different
c)class B should have second octet different
d)a,b,c

For an application which exceeds 64k the memory model should be

a)medium
b)huge
c)large
d)none

The condition required for dead lock in unix system is _____


INTERVIEW –TECH
=====================================

Why paging is used ?

Which is the best page replacement algorithm and Why?

What is software life cycle or SDLC?

Which are the different phases in Software life cycle

How much time is spent usually in each phases and why ?

What is testing of a software?

Which are the different types of testing?

Which are the different phases in Software life cycle ?

Why is analysis and testing phases very important ?

Why networks are layered ? What is the advantage of that ?

How many layers are there in OSI ? Why is it called OSI model ?

What are the network topologies ?

Give an example of bus type network.

What is Ethernet?

What is the Bandwidth of Ethernet ?

Explain the advantage and disadvantage of Ethernet ?

Which is the protocol used in Ethernet. (CSMA/CD) Why is it called so ?

What is the advantage of Ring network ?

Compare it with Ethernet.

What is inheritance, encapsulation etc.

If there are too many page faults what is the problem?

To ensure one program doesn’t corrupt other program in a Multi-program. environment

what you should do?

Which one you will use to implement critical section?

Stumble Upon Toolbar

FREQUENTLY ASKED C PROGRAMMING QUESTIONS...
--------------------------------------------------------------
How to add 2 numbers without + sign?

Suggest one method which is equivalent to dividing a number by 2?

Write a program to reverse a given number using recursion?

What is the output of printf("%d")?

What is the difference between "printf(...)" and "sprintf(...)"?

Write a program to find the factorial of given number using recursion?

What does static variable mean?

What is a structure?

What are the differences between structures and arrays?

In header files whether functions are declared or defined?

What are the differences between malloc() and calloc()?

What are macros? What are the advantages and disadvantages?

Difference between pass by reference and pass by value?

What is static identifier?

Where are the auto variables stored?

Where does global, static, local, register variables, free memory and C Program instructions get stored?

What is a pointer?

Difference between const char* p and char const* p

Difference between arrays and linked list?

What is the similarity between a Structure, Union and enumeration?

What are enumerations?

Describe about storage allocation and scope of global, extern, static, local and register variables?

What are register variables? What are the advantage of using register variables?

What is the use of typedef?

Can we specify variable field width in a scanf() format string? If possible how?

Out of fgets() and gets() which function is safe to use and why?

Difference between strdup and strcpy?

What is recursion?

Differentiate between a for loop and a while loop? What are it uses?

What are the different storage classes in C?

Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

What is difference between Structure and Unions?

What the advantages of using Unions?

What are the advantages of using pointers in a program?

What is the difference between Strings and Arrays?

In a header file whether functions are declared or defined?

What is a far pointer? where we use it?

How will you declare an array of three function pointers where each function receives two ints and returns a float?

What is a NULL Pointer? Whether it is same as an uninitialized pointer?

What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

What does the error ‘Null Pointer Assignment’ mean and what causes this error?

What is near, far and huge pointers? How many bytes are occupied by them?

How would you obtain segment and offset addresses from a far address of a memory location?

Are the expressions arr and *arr same for an array of integers?

Does mentioning the array name gives the base address in all the contexts?

Explain one method to process an entire string as one unit?

Can a Structure contain a Pointer to itself?

How can we check whether the contents of two structure variables are same or not?

How are Structure passing and returning implemented by the complier?

How can we read/write Structures from/to data files?

What is the difference between an enumeration and a set of pre-processor # defines?

What do the ‘c’ and ‘v’ in argc and argv stand for?

Are the variables argc and argv are local to main?

What is the maximum combined length of command line arguments including the space between adjacent arguments?

If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

What are bit fields? What is the use of bit fields in a Structure declaration?

To which numbering system can the binary number 1101100100111100 be easily converted to?

Which bit wise operator is suitable for checking whether a particular bit is on or off?

Which bit wise operator is suitable for turning off a particular bit in a number?

Which bit wise operator is suitable for putting on a particular bit in a number?

Which bit wise operator is suitable for checking whether a particular bit is on or off?

Which one is equivalent to multiplying by 2?

Left shifting a number by 1 or
Left shifting an unsigned int or char by 1?

Write a program to compare two strings without using the strcmp() function.

Write a program to concatenate two strings.

What will be the output of the code below:
main()
{
int x=10,y=25;
x=y++ + x++;
y= ++y + ++x;
printf(“%d%d\n”,x,y)
;
}

What will be the output of the code below:
main()
{
int x=4;
printf(“%d,%d,%d\n”,x,x<<2,>>2)
;
}

What will be the output of the code below:
main()
{
int x=15, y=20;
x = x++;
y = ++y;
printf(“%d %d\n”,x,y);

}

What are the advantages of a macro over a function?

What is binary sort?Explain with an example code?

Stumble Upon Toolbar

C++ FREQUENTLY ASKED QUESTIONS
------------------------------------------------

What do you mean by Object Oriented Programming technique?

What are the properties of OOP technique?

What do you mean by inheritance? Explain using an example?

What is multiple inheritance (virtual inheritance)? What are its advantages and disadvantages?

What is polymorphism?

What is inline function?

How do you allocate dynamic memory in C++?

What is the difference between C and C++?

What is a void return type?

How is it possible for two String objects with identical values not to be equal under the == operator?

What is the difference between a while statement and a do statement?

Write a program to print all the prime numbers below a given number.

Write a program for reversing a given number without using string function.

Can a for statement loop indefinitely?

How do you link a C++ program to C functions?

What is the basic difference between a class and a structure?

How can you tell what shell you are running on UNIX system?

How do you find out if a linked-list has an end? (i.e. the list is not a cycle)

How do you write a function that can reverse a linked-list?

Can a copy constructor accept an object of the same class as parameter, instead of reference of the object?

What is a local class?

What is a nested class?

What are the access privileges in C++? What is the default access level?

How do you access the static member of a class?

What does extern int func(int *, Foo) accomplish?

When the processor wakes up after power on, it goes to a particular memory location. What is that memory location called?

What is the difference between Mutex and Binary semaphore?

Write a program to set 2nd bit in a 32 bit register with memory location 0×2000?

Stumble Upon Toolbar

GENERAL INTERVIEW QUESTIONS
---------------------------------------------

1. You are looking for a challenging career. Please elaborate in terms of the following:
a) What are the kinds of challenges that you are looking forward in your career?
b) How have you equipped yourself to rise to these challenges?
c) What are the specific aims/ visions that you have with respect to your career?
d) Visit the website of the company. Do you think that a career with the company will aid in meeting your aims? If so please elaborate.

2. What is your idea of ideal work for your own self? And what is the type of work that you would not like to do?

3. What is your idea of an ideal work environment? How do you think you can help in creating such an environment here at our company?

4. What kind of work/ interpersonal relationships do you expect to establish with the various people in the company, viz. your peers, you subordinates, your superiors, and others from other departments.

5. How do you think you are equipped to meet all the above specifications that you have set for yourself?

6.Tell a story?

7.Describe a challenging work issue you had to face, and how you dealt with it?

8.Given a choice ,do you want to be a Leader or a Follower?

9.In what way do you think you can contribute to our company?

10.Tell me about a time when you tried and failed? Has this ever happened to you?

11.Tell us about your analytical skills.

12.Tell us about your Hobbies?

13.What are your strengths?

14.What are your weaknesses?

15.What are your short and long term goals?

16.Where do you see yourself in five years?

17.What do you know about our company?

18.Why do you want to join our company?

19.What do you think the employee’s responsibilities are to the company?

20.What motivates you?

21.What do you expect your starting salary to be?

Stumble Upon Toolbar

COMMUNICATION INTERVIEW QUESTIONS
----------------------------------------------------
Important Topics
---------------------------------

Analog Modulation

Amplitude Modulation

Frequency Modulation

Modulation Index,Bandwidth....

Nyquist Criteria for communication

Channel Capacity Theorem

Pulse Code Modulation

Adaptive Pulse Code Modulation

Differential Pulse Code Modulation

Radar Types

Primary and Secondary Radars

MDI

Frequency ranges- HF,VHF,UHF,Microwave….

Digital Modulation Techniques

FSK, PSK, QPSK, MSK, Gaussian MSK


Sample Questions

1. A 2MB PCM (pulse code modulation) has…

a) 32 channels
b) 30 voice channels & 1 signaling channel.
c) 31 voice channels & 1 signaling channel.
d) 32 channels out of which 30 voice channels, 1 signaling channel, & 1 synchronization channel.

Ans: (c)

2. Time taken for 1 satellite hop in voice communication is…

a) 1/2 second
b) 1 seconds
c) 4 seconds
d) 2 seconds

Ans: (a)

3. Max number of satellite hops allowed in voice communication is:

a) only one
b) more han one
c) two hops
d) four hops

Ans: (c)

4. What is the maximal decimal number that can be accommodated in a byte?

a) 128
b) 256
c) 255
d) 512

Ans: (c)

5. Conditional results after execution of an instruction in a micro processor is stored in…

a) register
b) accumulator
c) flag register
d) flag register part of PSW(Program Status Word)

Ans: (d)

6. Frequency at which VOICE is sampled is…

a) 4 KHz
b) 8 KHz
c) 16 KHz
d) 64 KHz

Ans: (a)

7. Line of sight is…

a) Straight Line
b) Parabolic
c) Tx & Rx should be visible to each other
d) none of the above

Ans: (c)

8. Purpose of PC(Program Counter) in a MicroProcessor is…

a) To store address of TOS(Top Of Stack)
b) To store address of next instruction to be executed.
c) count the number of instructions.
d) to store base address of the stack.

Ans: (b)

9. What action is taken when the processor under execution is interrupted by a non-maskable interrupt?

a) Processor serves the interrupt request after completing the execution of the current instruction.
b) Processor serves the interrupt request after completing the current task.
c) Processor serves the interrupt request immediately.
d) Processor serving the interrupt request depends upon the priority of the current task under execution.

Ans: (a)

10. The status of the Kernel is…

a) task
b) process
c) not defined.
d) none of the above.

Ans: (b)

11. What is the nominal voltage required in subscriber loop connected to local exchange?

a) +48 volts
b) -48 volts
c) 230 volts
d) 110 volts

12. To send a data packet using datagram , connection will be established…

a) before data transmission.
b) connection is not established before data transmission.
c) no connection is required.
d) none of the above.

Ans: (c)

13. Word alignment is…

a) aligning the address to the next word boundary of the machine.
b) aligning to an even boundary.
c) aligning to a word boundary.
d) none of the above.

Ans: (a)

14. When a C function call is made, the order in which parameters passed to the function are pushed into the stack is…

a) left to right
b) right to left
c) bigger variables are moved first than the smaller variales.
d) smaller variables are moved first than the bigger ones.
e) none of the above.

Ans: (b)

15. What is the type of signaling used between two exchanges?

a) inband
b) common channel signaling
c) any of the above
d) none of the above.

Ans: (a)

16. Buffering is…

a) the process of temporarily storing the data to allow for small variation in device speeds
b) a method to reduce cross talks
c) storage of data within transmitting medium until the receiver is ready to receive.
d) a method to reduce routing overhead.

Ans: (a)

17. Memory allocation of variables declared in a program is…

a) allocated in RAM.
b) allocated in ROM.
c) allocated on stack.
d) assigned to registers.

Ans: (c)

18. A software that allows a personal computer to pretend as a computer terminal is …

a) terminal adapter
b) bulletin board
c) modem
d) terminal emulation

Ans: (d)

Stumble Upon Toolbar

OPERATING SYESTEMS- INTERVIEW QUESTIONS
---------------------------------------------------------

What is an OPERATING SYSTEM?
An Operating System is a software program that enables the computer hardware to communicate and operate with the computer software.

What are the basic functions of an OPERATING SYSTEM?

What are the different types of OPERATING SYSTEM?
Graphical User Interface OS
Multi-user OS
Multiprocessing OS
Multitasking OS
Multithreading OS

What is Graphical User Interface OS?
Short for Graphical User Interface, a GUI Operating System contains graphics and icons and is commonly navigated by using a computer mouse. See our GUI dictionary definition for a complete definition. Below are some examples of GUI Operating Systems.
System 7.x
Windows 98
Windows CE

What is Multi-user OS?
Multi-user Operating System allows for multiple users to use the same computer at the same time and/or different times. See our multi-user dictionary definition for a complete definition for a complete definition. Below are some examples of multi-user Operating Systems.
Linux
Unix
Windows 2000
Windows XP
Mac OS X

What is Multiprocessing OS?
An Operating System capable of supporting and utilizing more than one computer processor. Below are some examples of multiprocessing Operating Systems.
Linux
Unix
Windows 2000
Windows XP
Mac OS X

What is Multitasking OS?
An Operating system that is capable of allowing multiple software processes to run at the same time. Below are some examples of multitasking Operating Systems.
Unix
Windows 2000
Windows XP
Mac OS X

Why paging is used?

What is virtual memory?
Virtual memory is hardware technique where the system appears to have more memory that it actually does. This is done by time-sharing, the physical memory and storage parts of the memory one disk when they are not actively being used.

What is Throughput, Turnaround time, waiting time and Response time?
Throughput – number of processes that complete their execution per time unit. Turnaround time – amount of time to execute a particular process.
Waiting time – amount of time a process has been waiting in the ready queue. Response time – amount of time it takes from when a request was submitted until the first response is produced, not output (for time-sharing environment).

What is a Real-Time Operating System (RTOS)?

Stumble Upon Toolbar

8086 MICROPROCESSOR INTERVIEW QUESTIONS&ANSWERS
----------------------------------------------------------------------

What is a Microprocessor?
Microprocessor is a program-controlled device, which fetches the instructions from memory, decodes and executes the instructions. Most Micro Processor are single- chip devices.

What is the difference between microprocessor and microcontroller?
The major difference is microprocessor doesn’t have inbuilt memory but micro-controller has inbuilt memory .In Microprocessor more op-codes, few bit handling instructions. But in Microcontroller: fewer op-codes, more bit handling Instructions. Micro-controller can be defined as a device that includes micro processor, memory, & input / output signal lines on a single chip.

Give examples for 8 / 16 / 32 bit Microprocessor?
8-bit Processor - 8085 / Z80 / 6800;
16-bit Processor - 8086 / 68000 / Z8000;
32-bit Processor - 80386 / 80486.

Why 8085 processor is called an 8 bit processor?
Because 8085 processor has 8 bit ALU (Arithmetic Logic Review).

Expand HCMOS?
High-density n- type Complimentary Metal Oxide Silicon field effect transistor.

What does microprocessor speed depend on?
The processing speed depends on DATA BUS WIDTH.

What is the Maximum clock frequency in 8086?
5 Mhz is the Maximum clock frequency in 8086

Is the address bus unidirectional? Is the data bus is Bi-directional?
The address bus is unidirectional because the address information is always given by the Micro Processor to address a memory location of an input / output devices.
The data bus is Bi-directional because the same bus is used for transfer of data between Micro Processor and memory or input / output devices in both the direction.

What is the disadvantage of microprocessor?
It has limitations on the size of data. Most Microprocessor does not support floating-point operations.

What is the difference between primary & secondary storage device?
In primary storage device the storage capacity is limited. It has a volatile memory. In secondary storage device the storage capacity is larger. It is a nonvolatile memory. Primary devices are: RAM / ROM.
Secondary devices are: Floppy disc / Hard disk.

Difference between SRAM and DRAM?
Static RAM: No refreshing, 6 to 8 MOS transistors are required to form one memory cell, Information stored as voltage level in a flip flop.
Dynamic RAM: Refreshed periodically, 3 to 4 transistors are required to form one memory cell, Information is stored as a charge in the gate to substrate capacitance.

What is an interrupt?
Interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work.

What are the different types of interrupts?
Maskable and Non-maskable interrupts.

What is cache memory?
Cache memory is a small high-speed memory. It is used for temporary storage of data & information between the main memory and the CPU (center processing unit). The cache memory is only in RAM.

Expand DMA?
Direct Memory Access

Differentiate between RAM and ROM?
RAM: Random Access Memory. Read / Write memory, High Speed, Volatile Memory. ROM: Read only memory, Low Speed, Non Volatile Memory

What is NV-RAM?
Nonvolatile Read Access Memory, also called Flash memory.

What is a flag?
Flag is a flip-flop used to store the information about the status of a processor and the status of the instruction executed most recently

What are the flags in 8086?
In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

What is meant by Maskable interrupt?
An interrupt that can be turned off by the programmer is known as Maskable interrupt.

What is Non-Maskable interrupt?
An interrupt which can be never be turned off (ie.disabled) is known as Non-Maskable interrupt.

Which interrupts are generally used for critical events?
Non-Maskable interrupts are used in critical events. Such as Power failure, Emergency, Shut off etc.

Give examples for Maskable interrupts?
RST 7.5, RST6.5, RST5.5 are Maskable interrupts

Give example for Non-Maskable interrupts?
Trap is known as Non-Maskable interrupts, which is used in emergency condition.

What are the various segment registers in 8086?
Code, Data, Stack, Extra Segment registers in 8086.

Which Stack is used in 8086?
FIFO (First In First Out) stack is used in 8086.In this type of Stack the first stored information is retrieved first.

What is SIM and RIM instructions?
SIM is Set Interrupt Mask. Used to mask the hardware interrupts.
RIM is Read Interrupt Mask. Used to check whether the interrupt is Masked or not.

What is Tri-state logic?
Three Logic Levels are used and they are High, Low, High impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri-state logic has a third line called enable line.

Give an example of one address microprocessor?
8085 is a one address microprocessor.

In what way interrupts are classified in 8085?
In 8085 the interrupts are classified as Hardware and Software interrupts.

What are Hardware interrupts?
TRAP, RST7.5, RST6.5, RST5.5, INTR.

What are Software interrupts?
RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7.

Which interrupt has the highest priority?
TRAP has the highest priority.

Name 5 different addressing modes?
Immediate, Direct, Register, Register indirect, Implied addressing modes.

How many interrupts are there in 8085?
There are 12 interrupts in 8085.

What is the RST for the TRAP?
RST 4.5 is called as TRAP.

In 8085 which is called as High order / Low order Register?
Flag is called as Low order register & Accumulator is called as High order Register.

Stumble Upon Toolbar

HUAWEI:: PLACEMENT PAPER
----------------------------------------------------

Total Question: 140 Time: 120 min (2 hrs)
Section I :[General Aptitude, Verbal & Non-Verbal)
Section II :[Technical ] (DS, Communication, Information Theory, etc)
Section III :[C program] ( I/O, pointers)

Section I :
------------------------------
1. Following some pattern, understand the table and find the answer?
JANUARY- 20
APRIL- 10
MAY- 5
NOVEMBER- 15
JULY- ?

2. Find the missing number: 1 10 3 9 5 8 7 7 9 6 ? ?

3. If it was two hours later, it would be half an hour as long until midnight as it will be if it were an hour later. What is the time now?

4. In a city, 80% speaks English, 70% speaks Hindi and 10% do not speak both. It was found that 162 people talk both. How many are there in the city?

5. Find the missing number: 0 6 24 X 120

6. Which is not a leap year,: 1900 2000 1952 1980
7. Find the missing number: J, ?, M, ?, M, J, ?, A, S, O, N, ?

8. There are 27 pearls in a bag. One among them is less in weight. You have been given 2 pan weighing machine. In how many trials, you will be able to find the defected one?

9. Direct distance between A & B is 200. Direct distance between B & C is 200. Direct distance between C & A?

10. There are 30 socksin a bag. 30% is in blue color. What is the probability to take two blue socks?

11. In a ground, there are two poles in 7 ft & 12 ft respectively. They are 12 ft apart from each other. What is the distance between the edges of two poles?

12. You need to print a document of the area 216 sq cm. Condition is 3 cm margin is to be left at both top & bottom and 2 cm at the sides. What will be the optimized size of your paper?

13. In a party, every man has his dog with him. There are 22 heads and 72 legs all together. How many men & dogs are there?

14. Raju writes a number between 1 to 1000. Raja wants to know the number, knowing Raju can answer only yes & no and always speaks truth. What will be the minimum number of questions Raja finds the answer
a. 999 b.10 c.500 d.none

15. How many ways a section of four letter word can be made in complete alphabet?

16. Find the missing number: 0, 0.577, 1, 1.732, ?
a. 0.656 b.2 c.2.743 d.none

17. 17171717171.....(101 digits) is divided by 625. What is the remainder?

18. June 30, 2004 is Wednesday. What is June 30, 1974?

19. Two different types of tea are mixed, at 6 Kg of type 1 and 4 Kg of type 2. One Kg of type 1 is Rs. 6 and that of type 2 is Rs. 7. The seller gets 10% profit, by this action. Find at what price, he ,d have sold the mixture/Kg?

20. There are 10 people in a party. "How many other people, you met?" is the question asked to everyone. First person says 1, Second says 2, Third says 3..........ninth says 9. Now what tenth person would have answered?

21. Find the missing number: 24 : 15 :: 63 : ?

22. A metal ball weighing 10 gm is dropped from 20 meter height tall point. What will be the time to reach ground?

23. All the students of class are told to sit in circle shape. Here the boy at the 6 th position is exactly opposite to 16 th boy. What is the total number of boys in the class?

32. The average mark of 10 students is 80%. Later it was found that for one student, instead of 60%, the recorded 90%, by mistake. Now the corrected new percentage?



SECTION II

C PROGRAMMING
---------------------------------------
[What will be the output of the following code?]
-----------------------------------------------------------------
1. void check()
{
int a=2;
if(a=3!=3)
printf(" 3 ");
else
printf(" 2 ");
return;
}

2. main()
{
char P[]={"Hello World"};
printf(" %s \n",p);
}

3.
main();
{
INT i,j;
i = j = 0;
i = ( i++ > ++j ) ? i++ : i--;
}

4.

# define D 10
# define Y D+10
# define D 30
main
(int argc, char *arc[])
{
printf(" %d \n",D);
}

5. # define TRUE 0
main()
{
int i=0;
while(TRUE)
{
printf(" %d \n",i);
i++;
}
printf(" %d \n",i);

6. UCHAR j;
for(j=0;j<2000;j++);

Number of iterations?

7. main()
{
int a[5];
a[0]=0;
a[1]=1;
for(i=2 ; i<4 ; i++)
a[i] = a[i-1] + a[i-2];
}
What are the elements of array?


8. How many times is the for loop executed
for(i=0;i<10;i++);
a. 1
b. 10
c. Compiler error
d. not executed
9. for selection, we use
a if..else
b for loop
c. while loop
d. none
10.Which of the following is executed 1rst?
i .&& ii.|| iii.!
a. i
b. ii
c. iii
d. all are equal
11.To find o/p of a recursive pgm, function where in parameters are passed by value, reference......function used in ansi computers to clear the screen is:
a. clrsc
b. clear
c. clescr
d. none of the above

Stumble Upon Toolbar

DIGITAL ELECTRONICS TECHNICAL-INTERVIEW QUESTIONS
-----------------------------------------------------------------------

What is the difference between a Flip-Flop and a Latch?

What is race around condition?

What is the VHF,UHF Frequency ranges?

What is Inter signal interference?

What is the difference between a synchronous and asynchronous circuit?Which is better?

What is the significane of excess 3 code?Explain Self-complimenting property?

What is D-FF?

What are the different types of power amplifiers?

What is meant by Companding?

What is the basic difference between counters and registers?

What is a multiplexer?

How can you convert an SR Flip-flop to a JK Flip-flop?

How can you convert a JK Flip-flop to a D Flip-flop?

What is Race-around problem? How can you rectify it?

Which semiconductor device is used as a voltage regulator and why?

Explain an ideal voltage source?

Explain zener breakdown and avalanche breakdown?

What are the different types of filters?

What is the need of filtering ideal response of filters and actual response of filters?

What is sampling theorem?

What is impulse response?

Explain the advantages and disadvantages of FIR filters compared to IIR counterparts.

What is CMRR?

Explain half-duplex and full-duplex communication?

Which range of signals is used for terrestrial transmission?

Why is there need for modulation?

Which type of modulation is used in TV transmission?

Why we use vestigial side band (VSB-C3F) transmission for picture?

When transmitting digital signals is it necessary to transmit some harmonics in addition to fundamental frequency?

For asynchronous transmission, is it necessary to supply some synchronizing pulses additionally or to supply or to supply start and stop bit?

BPFSK is more efficient than BFSK in presence of noise. Why?

What is meant by pre-emphasis and de-emphasis?

Explain 3 dB cutoff frequency? Why is it 3 dB, not 1 dB?

Explain ASCII, EBCDIC?

Stumble Upon Toolbar

SAMPLE QUESTION PAPER
----------------------------------------------

There are three sections (Verbal, Quantitative and Critical)
Quantitative-- 15
Verbal --10
Fitting the correct word in the given sentence--4
Fitting the correct sentence in the given paragraph--6
Reasoning--15.


QUESTION PAPER
------------------------------------------------

I have 20 rupees. I bought 1, 2, 5 rupee stamps. They are different in numbers by the reason of no change, the shop keeper gives 3 one rupee stamps. So how many stamp(s) I have. Ans: 10

An Engine length 1000 m moving at 10 m/s. A bird is flying from engine to end with x kmph and coming back at 2x. Take total time of bird traveling as 187.5 s. Find x and 2x.

All persons know either swimming or rowing. There are 14 persons who know only swimming and 14 persons who know only rowing. 8 tickets sold for rowing. How many people are there for swimming?

One Cigar can be made from 7 bits. If there are 16 Cigars then how many bits collected? Ans: 4

A, B, C, D went to a hotel and planned to share the bill equally. But afterwards they changed their plan and to pay proportional to consumption A paid 240, B & C paid equally, D paid only half the amount that he should have paid based on the first plan. What is the amount paid by B?

There is a point P on the circle. A and B started running in two constant different speeds. A in Clockwise and B in Anti-clockwise. First time 500 m in Clockwise from P then 400 Anti-clockwise. If B is yet to complete one round, What is the circumference of the circle?

There are 5 Sub with equal high marks. Mark scored by a boy is 3:5:6:7:8 (Not sure). If his total aggregate if 3/5 of the total of the highest score, in how many subjects has he got more than 60%?

There are 11 lines in plane. How many intersections (Maximum) can be made?

INTERVIEW QUESTIONS....
------------------------------------------
(A panel with 2 people- one HR & one Tech Guy)

Tell me about urself.

Tell us about your projects?

Do you think ur project is saleable?
What rating would you give out of 10?

What is a key in DBMS?
Tell what is a foreign key(DBMS) .

What happens when an application is opened as like an MS Word and u press Tab key then the response seen is the cursor moving a bit on the Word document.So,what r the processes (no jargon,give the proper technical terms) behind this whole thing happening?

What are the things u will do to reduce the processing time of your project?

What can you do to decrease the time taken for processing a file in a batch processing system?

Stumble Upon Toolbar

BSNL -JTO SAMPLE PAPER 2
---------------------------------


Antennas commonly used for microwave links are -

a. ) Loop antenna

b. ) Log-periodic antennas

c. ) Paraboloidal dishes

Of the following bridges the one which can be used for the measurement of dielectric loss of a capacitor is –
a) Schering bridge
b) Heaviside campbell equal ratio voltage
c) Owen bridge
d.) Anderson bridge

Ans. a.) Schering bridge

LVDT is uses as a –
a) . Displacement transducer
b.) Pressure transducer
c.) Temperature
d.) Any of the above

Ans a). Displacement transducer

Polarization is a measure of -
a.) Dielectric constant per unit volume.
b. ) Voltage gradient to produce electrical breakdown
c.) Product of charge and distance
d.) Excess charge density

Ans. a.) Dielectric constant per unit volume

Compared to the inductive type of transducer, capacitive transducer is superior for the measurement of displacement because of -
a.) Absence of non-linearity
b.) High frequency response
c.) Small size
d.) High accuracy

Ans. b.) High frequency response

An incremental model of a solid state device is one which represents the –
a.) ac property of the device at the desired operating point
b. ) dc property of the device at all operating points
c.) Complete ac and dc behaviour of the device at all operating points
d.) ac property of the device at all operating points.

Ans. a.) ac property of the device at the desired operating point

The ac resistance of a forward biased p-n junction diode operating at a bias voltage ‘V’ and carrying current ‘I’ is –
a. ) Zero
b. ) a constant value independent of Vand I
c.) V/I
d.) Delta V/Delta I

Ans. d). Delta V/Delta I

A meter is shielded with a soft iron to –
a. ) Prevent damage from rough use
b.) Keep moisture out of movement
c. ) Protect meter movement from stray magnetic fields
d.) Achieve all of the above

Ans. c. )Protect meter movement from stray magnetic fields

A capacitor that has been connected across a battery for comparatively long time becomes–
a. ) Charged
b.) Discharged
c.) Short - circuited
d.) Defective

Ans. a. )Charged

The charge on the plates of a capacitor is given by the expression –
a.) Q = VI
b.) Q = IR
c.) Q = CV
d.) Q = IC

Ans. c.) Q = CV

Silicon steel used for electrical purposes has silicon percentage of –
a. ) 0.5
b.) 2.5
c.) 3.4
d) . None

Ans. c.) 3.4

The feature of VTM is its –
a. ) Low input impedance
b. ) Low power consumbtion
c. ) The ability to measure wider ranges of voltage and resistances
d) . None

Ans. c. )The ability to measure wider ranges of voltage and resistances

In an N-type semiconductor, the position of the fermi level –
a. ) Is lower than the centre of the energy gap
b.) Is at the centre of the energy gap
c.) Is higher than the centre of the energy gap
d. ) Can be anywhere depending upon the doping concentration

Ans. c.)Is higher than the centre of the energy gap

A JFET can operate in –
a.) depletion and enhancement model
b. ) depletion mode only
c. ) enhancement mode only
d.) neither enhancement nor depletion mode

Ans. b. )depletion mode only

Consider the following semiconductor diodes –
a. ) Germanium diode
b.) Silicon diode
c.) Tunnel diode
d.) Schottky diode

Ans. c.) Tunnel diode

A diode with a PIV of 50V is likely to break down when rectifying 50v ac supply because –
a.) it is made of defective material
b.) it is incorrectly connected to the supply
c.) peak value of ac supply exceeds the PIV value
d. ) ac supply is of extremely high frequency.

Ans. c.) peak value of ac supply exceeds the PIV value

The set of transistor characteristics that enables a to be determined directly from the slope is –
a.) CE transfer characteristics
b. ) CE output characteristics
c.) CB transfer characteristics
d.) CB input characteristics

Ans. c.) CB transfer characteristics

For an N-channel JFET, the drain voltage has to be –
a.) positive with respect to the source
b.) negative with respect to the source
c.) uncharged with respect to the source
d.) none

Ans. a.) positive with respect to the source

The SCR is often employed as a –
a. ) Source-controlled switch
b. ) Drain-controlled switch
c.) Gate-controlled switch
d) None

Ans. c.) Gate-controlled switch

An oscilloscope has an input impedance consisting of 1MW and 20pF in parallel. A high impedance probe connected to the input of this oscilloscope has a 10MW series resistance, this 10MW resistance –
a.) Need not be shunted
b.) Should be shunted by a 2pF capacitor
c.) Should be shunted by a 20pF capacitor
d. ) Should be shunted by a 200pF capacitor

Ans.b.) Should be shunted by a 2pF capacitor

Compared to silicon, gallium arsenide (GaAs) has –
a. ) Easier to grow crystals since the vapour pressure of arsenic is high
b. ) Higher optolectronic conversion efficiency
c.) Both a and b
d) . None

Ans. c.) Both a and b

When in a two terminal network, the open circuit voltage measured at the given terminals by an electronic voltmeter is 100V and a short circuit current measured at the same terminals by an ammeter of negligible resistance is 5A then if a resistor of 80W is connected at the same terminal, then the current in the load resistor will be –
a. )1A

b.) 1.25A

c). 6A

d.) 6.25A

Ans. a.)1A


The electric potential due to an electric dipole of length L at point distance r away from it will be doubled if the -
a. ) Length L of the dipole is doubled

b. ) r is doubled

c. ) r is halved

d ) L is halved

When a particular mode is excited in a waveguide there appears an extra electric component in the direction of propogation . The resulting mode is
a. ) Longitudinal electric

b. ) Transverse electromagnetic

c. ) Transverse magnetic

d ). Transverse electric

When for a transmission line the open circuit and short circuit impedance are 20W and 5 W respectively then the characteristic impedance of the line is -
a. ) 100 Ohms

b ). 50 Ohms

c. ) 25 Ohms

d. ) 10 Ohms

In an ideal transmission line with matched load, the voltage standing wave ratio and reflection coefficient are respectively -
a. ) 1 and 1

b ). infinity and 1

c ) infinity and 0

d. ) 1 and 0

When an electric charge of 100 coulombs is enclosed in sphere of radius 100 m then the electric displacement density ( in coulomb / m2) D is –
a. ) 0.0833

b ). 0.833

c. ) 1.666

d. ) 10

For the dominant mode in a rectangular wavelength with breadth 10 cm, the guide wavelength for a signal of 2.5 GHz will be -
a. ) 12 cm

b. ) 15 cm

c. ) 18 cm

d. ) 20 cm

When the phase velocity of an electromagnetic waves depends on frequency in any medium, the phenomenon is called-
a. ) Scattering

b. )Polarization

c. ) Absorption

d. ) Dispersion

One of the following instrument which may be used to measure the optical activity of compounds is –
a. )Infrared spectrometer

b. ) Atomic absorption spectrometer

c. ) Polarimeter

d. ) Flouroscope

Schering bridge measures –
a. )Capacitance dielectric loss

b. ) Inductance

c. )Resistance

d. ) Mutual inductance

When a square wave is fed to an RC circuit, then –
a. ) voltage across R is square and across C is not square

b. ) voltage across C is not square and across R is not square

c. ) voltage across both R and C are square

d. ) voltage across both R and C are not square

The time constant of the RC circuit is –
a. ) less than the time period of the input square wave.

b ). much larger than the time period of the input square wave.

c. ) equal to the time period of the input square wave.

d ). none

Harmonic distortion for each frequency can be obtained by harmonic analyser of the –
a. )heterodyne type

b. ) tuned circuit type

c. ) fundamental suppression type`

d. ) bridge circuit type.

A three phase wattmeter requires –
a ). only two current coils and two pressure coils

b. )only one current coil and two pressure coil

c. ) only two current coils and one pressure coil

d. ) only current coil

A low pass filter circuit is basically –
a. ) a differentiating circuit with low time constant

b. ) a differentiating circuit with large time constant.

c. ) an integrating circuit with low time constant.

d. )an integrating circuit with large time constant.

If the differential pressure in restriction type flow measuring devices is then the flow will be proportional to –

When a system is represented by the transfer function then the dc gain of this system is –
a.) 1

b.) 2

c.) 5

d.) 10

Silicon based semiconductor device called thyristor was first fabricated by –

a). Jell laboratories in U.S.A

b). Maxwell laboratories in U.S.A

c.) Bell laboratories in U.S.A

d). GEC laboratories in U.S.A

A semiconductor based temperature transducer has a temperature coefficient of –2500mV/0C. This transducer is indeed a –

a.)Thermistor

b.) Forward biased pn junction diode

c. )Reverse biased pn junction diode

d.) FET

Which of the followings pairs of Telemetry situations and Modulation techniques and conditions is correctly matched-

a. )Pulse amplitude modulation Low amplitude signals

b. )Pulse position modulation For short distance when power is enough

c.) Pulse width modulation Power to be spent in telemetry is required to be low

d.) Pulse code modulation. Minimisation of interference effects.

The SCR ratings di/dt in A/m sec and dv/dt in n/m sec, may vary, respectively between-

a.) 20 to 500, 10 to 100

b. )both 20 to 500

c.) both 10 to 100

d.) 50 to 300, 20 to 500

Match the given controlled rectifiers with 50 Hz supply

a. )1 phase full converter with source inductance

b. )3 phase full converter

c.)3 phase semiconductor

d. )3 phase halls wave converter

For natural or forced commutation the cyclo converters (CCs) requires as under.
a) natural commutation in both step up and step down CCs

b.) forced commutation in both step up and step down CCs

c.) forced commutation in step up CCs

d). forced commutation in step down CCs

The peak inverse voltage in ac to dc converter system is highest in-
a). single phase full wave mid point converter

b). single phase full converter

c) 3 phase bridge converter

d). 3 phase half wave converter.

A single phase full converter feeds power to RLE load with R = 6 W L = 6 MH and E = 60 V. The ac source voltage is 230 V, 50 Hz, For continuous conduction, the average value of load current for a firing angle delay of 50 is
a.)12.181 A

b). 14.81 A

c). 16.76 A

d.) 32.40 A

Which one of the following is the Fourier transform of the signal given in fig. B if the Fourier transform of the signal in fig A is given by -

What is 215 complement of 00011100-
a.) 11100011

b.) 10001100

c.) 11100100

d.) 10000111

In C programming a expression contains relational operators, assignment operators and arithmetic operators if parentheses is absent then execution follows
a.) assignment, relational, arithmatic

b.) arithmatic, relational, assignment

c.) relational, arithmatic, assignment

d.) assignment, arithmatic, relational

In semiconductor memory information stored in form-
a.) binary

b.) hexadecimal

c.) octal

d.) ASCII

i\p to Not gate gives o/p as-
a ) inversion of some bits

b.) 2’s complement of i\p

c.) 1’s complement of i\p

d.) o/p is some as i\p

A negative logic means-
a .)logic 0 and 1 are represented by a +ve voltage respective

b). logic 0 and 1 are presented as –ve and +ve voltage

c. )logic 0 voltage is higher than logic 1 voltage level

d.) logic 0 voltage is lower than logic 1 voltage level

For designing D flip flop from SR FF a circuit is aloud at 01p of SR FF is-
a.) AND

b.) OR

c.) NOR

d.) NOT

The transistor shown in fig is

a. ) Silicon, NPN with Ic = 0.5 mA

b.) Silicon PNP with Ic = 0.5 mA

c.) Germanium PNP with IE = 0.5 mA

d.) Germanium NPN with Ic=0.5 mA

A 20,000 Ohms per volt meter will deflect full-scale with a current of -
a.) 50 mA

b.) 50 mA

c.) 100 mA

d.) 1000 mA

A plate modulated class –CRF power amplifier produces 100 KW of radiated power at 100 % modulation. The modulating audio amplifier supplies approximately ——– kW of this power-
a.)50

b).33

c).22

d).11

An amplifier without feedback has a distortion of 15 % and gain of 40. When 10% negative feedback is applied the distortion will become-
a.) 50 %

b). -45 %

c). 3%

d). -5%

MODEM implies-
a.)Modulator at transmitting side and ditector at the receiving side

b.)Which deals with analog signals and shows digital information

c.)Analog to digital at transmitting side and digital to analog at a receiving side

d).A device which deals with digital signals only

Twisted ring and ring counters are examples of –
a. )Synchronous counters

b.) Asynchronous counters

c.) both a and b

d.) None of the above

Specify Non characteristic flip flop in the following –
a.) The outputs are complement of each other

b.) The flip flop has two input signals

c.) The flip flop has two output signals

d). The flip flop is a bistable devise with only two stable states

The voltage obtained when digital input is 001 is a 3 bit R-2R ladder DIA converter is-
a.) VR/22

b.) VR/21

c.) VR/23

d.) none of the above

Identify NOT an octal number-
a.) 19

b). 15

c.) 77

d.) 101

The set of binary digits 01000100 represent’s-
a.) number 6810 in a pure binary computer

b.) number 44 in 8421 BCD code

c) Both a and b

d.) None of the above

The system matrix of a continuous time system, described in the state variable form is –

The system is stable for all values of x and y satisfying –

a.)x < 1/2, y < 1/2

b). x < 0, y < 2

c. )x > 1/2 , y >0

d.) x < 0 , y < 1/2

The break away and break in point in the root locus for open loop transfer function G(S) H(S) = are located respectively at –
a). –2 and -1

b). –2.47 and –3.77

c.) –4.27 and –7.73

d.) –7.73 and –4.27

The transfer function for the given system shown in figure is –

The type and order of the system whose Nyquist plot is shown in fig is-

a.)0.1

b.) 1,2

c.) 0,2

d). 2,1

The overall transfer function in a second order is given by-

Its resonant frequency is -

a.) 2

b.)

c).

d.) 3

The detection of an AM waveform in an Envelope –
a.)One side band and full amplitude carrier are needed

b.) Both side bands and full amplitude carrier are needed

c). Only two side bands are needed

d). Upper side band and part of carriers are needed

Satellite used for intercontinental communication is known as –
a.) Comsat

b). Dom sat

c.) Mari sat

d). Intelsat

Mark out non submarine cable –
a. )TAT – 7

b.) INTELSAT V

c.) ATLANTIS

d. )CANTAT 2

The capacity of an analog communication channel with 4kHz bandwidth and 15 dB SNR is approximately-
a). 20,000 bps

b). 16,000 bps

c.) 10,000 bps

d.) 8,000 bps

The blind speed of an MTl radar can be avoided by changing the-
a.) Carrier frequency

b.) Pulse repetition frequency

c. )Antenna rotation rate

d.) Transmitted power

The output voltage in a feedback series regulator circuit is regulated by controlling the-
a.) Magnitude of the input voltage

b.) Gain of the feedback transistor

c.) Reference voltage

d.) Voltage drop across the series pass transistor

Indicate the signal not transmitted in colour TV-
a.) Y

b.) Q

c.) R

d.) I

As frequency of singal increases-
a.) Directivity increases & beam width increases

b.) Directivity & beam width decreases

c.) Directivity increases & beam width decreases

d.) Directivity decreases & beam width increases

The number of hardware interupts (which require an external signal to interrupt) present in on 8085 mP are

a). 1

b). 4

c.) 5

d.) 13

Highest priority interupt is-

a. )INTR

b. )RST 7.5

c. )RST 6.5

d. )TRAP

One instruction cycle means-

a. )Time require to execute set of instructions

b. )Time require to execute one instruction

c.) Time require to complete one operation of accessing memory, or I/o

d.) None of above

If the clock freq. is 5 mH3 how much time is required to execute on instruction of 18 T-states-

a. )3.6 msec.

b.) 36 m sec.

c.) 36 m sec.

d.) 36 sec.

In data transfer operation which flog get affected-

a. )zero flog

b. )carry flog

c. )sign flog.

d.) none

CMP instruction comes under group -

a. )Data transfer

b. )Brouching operations

c). Machine control operation

d.) logical operations

The logic operation-

a.) are performed in relation to content of Accemce lotor

b).can be performed derectly with content of the register.

c.)are performed without content of a

d.)none of above.

What happen when PUSH instruction executed -

a.) data retrieved from stock to register

b.) data from register saved on the stock.

c.) 16 bit address of instruction saved on stock.

d.) 16 bit address from stock retrieved

SIM stands for-

a. ) serial interface memory

b.) set interrupt mosk

c. ) set if minus

d.) set internal memory

Maximum clock frequency required to operate 8085-

a. )2 MHz

b.) 3 MHz

c) 6 MHz

d. )9 MHz

ASCII code is-

a). 7 bit

b). 8 bit

c.)16 bit

d.) 32 bit.

In memory mapped I/O address lines are-

a. ) 8

b.) 16

c.) 32

d.) 64

The parity bit adding technique is used for -

a. )Indexing

b. )Coding

c. )Error detection

d. )Controlling

A demultiplexer-
a. )has multiple i/p and single o/p

b.) has single i/p and multiple o/p

c.) has multiple i/p and multiple o/p

d.) has single i/p and single o/p

Subroutines are useful-
a. )to reduce storage requirements

b.) to increase programming speed and reduce storage

c.) most applications are same

d.) but increases expense

Stumble Upon Toolbar

IBM GLOBAL SERVICES
-----------------------------------------

Sample Paper 3

APTITUDE
------------------------------

1. Speed of boat in still water is 10kmph..if it travels 24km downstream,16km upstream in the sameamount of time,what is the speed of the stream?
(a)3kmph (b)3.5kmph (c)2kmph (d)none

2. A cube of 3 units is painted on all sides.If this cube is divided into cubes of 1 unit,how many cubehave none of their faces painted?
(a)4 (b)2 (c)1 (d)0 (e)none of these
3. If a person sells a product for rs141/- he suffers a loss of 6%.if he has to have a profit of 10%, at what price should he sell it?
(a) (b)rs.175 (c).. (d)rs.165

4. A ball falls from a height of 8ft ,bounces back to half the distance & continues till it comes to rest.What is the total distance travelled by the ball?
(a)24ft (b)... (c)infinite (d)cannot be determined
5. Which of the following is the sum of 3 consecutive prime nos?
(a)49 (b)59 (c)both a &b (d)none
6. If the area of a square has increased by 69%,by what % has its side increased?

7. In a class the average age is 16yrs.if the teacher who is 40 yrs of age is also included ,the average becomes 17yrs,how many students were there?

8. If 3 houses are to be painted,Mr A can paint a house in 6 days(nos are not same).. Mr B can do the same in 8 days...& Mr.C in 12 days.if Mr A does the work for 8 days & leaves for vacation, & Mr B continues the work for the next 6 days, for how many days should Mr.C work?

9. 4 thieves rob a bakery of the breadone after the other.each thief takes half of what is present ,& half a bread...if at the end 3 bread remains,what is the no of bread that was present initiallly?

10. If the 1rst day of 1999 is a sunday,what is the last day?
(a)sunday (b)monday (c)thursday (d)cannot be determined.
11. If A driver drives a car four times a lap 10,20 30,60 kmph what is his average speed?

In a group there are two kinds of people type A & type B.Type A people Answer for any question as YES &that of type B as NO.If they can not Answer to these question then they remain silent. The mayor asks question to them as follows........
12. If he asks a person are u type A
a.YES b.NO c. Silent d.Can not be determined
13. He asks two persons X &Ysimultaneously whether u of same type
a. YES b. NO c.YES or NO d. Silent e. can not be determined

14. Pointing to a person X he asks Y what is his type
a. YES b. No c. Silent d can not be determined

15. Pointing to a person X he asks Y if I ask him whether r u type A ,will he Ans.wer YES.Y says NO .what typeof B is
a. YES b. NO . c. Silent d. can not be determined

16. Six squares of same dimension are kept side by side to make a rectangle with a perimeter of 182 cm. what isthe perimeter of each square.

17. One student takes 20 mins to reach school if he goes at a speed of 15kmph .At what speed should he go to reach in 15 mins ( nos are not same)

18. How many rational numbers are there between 0 & 5
Ans.:infinite

19. A certain number of bullets were shared by 3 people equally.Each of them fired 4 bullets and the sum of the remaining bullets was equal to the initial share each had got.what was the initial number of bullets?
Ans.:18..( 18/3=6;6-4=2,6-4=2,6-4=2; 2+2+2=6=Ans.)

TECHNICAL SECTION
----------------------------------------------

20. A trigger is
(a) a statement to enable the start of database..
(b)statements that are executed as a side effect to the modification to the database
(c) to enabl the stopping of a database
(d)none
Ans. (b)

21. What does the following statement mean? int (*a)[4]
(a)'a' is a pointer to an array of 4 integers
(b)'a' is an array of pointers to integer
(c)'a' is a pointer to function returning an integer
(d)none of the above
Ans.:a

22. Best method to find out whether a given array already sorted,is sorted or not in minimum time is_____?

23. A primary key in one table also present in some other table is called
(a)foreign key
(b)secondary key
(c)subordinate key
(d) none of the above
Ans.. foreign key

24. Which of the following is a real time system?
(a)robotics control (b)airline ticket reservation
(Ans.b)

25. A question to convert a big no in decimal to octal
(check only for the last 2 nos in Ans. is sufficient)

26. Which of the following is an example of a spooling device?
(a)keyboard (b)line printer (c) scanner (d) none of the above

27. If in a table:account no,account holders name,account type are the fields,which of them could be the primary key?
(a)account no (b)account holders name (c)account type (d) none of the above

28. If a file is opened in "r+" mode(in C),it means.
(a) write (b)read (c)both (d) none of the above

29. What is the difference between 123 and 0123 in c?
(a)120 (b)40 (c)0 (d) none of the above Ans.:40

30. Software Configuration Management process is -
(a)developing & managing software for .....software....
(b)developing & managing hardware for....software..
(c) none of the above

31. Data Integrity constraint is
(a)to ensure the presence of primary key
(b)ensure the presence of foreign key
(c) none of the above.

32. Which of the following uses the minimum length of cable?
(a)ring (b)star (c)mesh (d)bus (e)all of the above

33. How can u append the ls and who to certain existing file (like that)(i.e.listing & output of who is to be directedto a file
(a)ls;who>filename (b)ls;who>>filename (c)(ls;who)>>filename (d)who;ls>filename

34. Suppose u have a network .users complain of slow .u suspect a problem in network adapter once u find that the data is continuous and erroneous.what device do u use? (a)volt-ohmmeter (b)SNMP (c)protocol... checking (d)all of the above

35. What is vector processing?

36. x-=y+1 is equivalent to what ? (a)x=x-y+1 (b)x=x-y-1(d) none of the above

37. In a student form what is the relationship b/w student and course
(a)one to one (b)many to one (c)one to many (d)many to many

38. ROM is
(a)volatile(b)permanent & fast(c)device containig boot up program & is not accessible

Stumble Upon Toolbar