In the word 'CORPORATION', we treat the vowels OOAIO as one letter. Thus, we have CRPRTN (OOAIO). This has 7 letters of which R occurs 2 times and the rest are different. Number of ways arranging these letters = 7! = 2520/2! Now, 5 vowels in which O occurs 3 times and the rest are different, can be arranged in 5!/3! = 20 ways.
Required number of ways = (2520 x 20) = 50400.
Q. No. :
2
Question :
If a person walks at 14 km/hr instead of 10 km/hr, he would have walked 20 km more. The actual distance travelled by him is:
Let the actual distance travelled be x km. Then, x/10 = (x + 20)/14 14x = 10x + 200 4x = 200 x = 50 km.
Q. No. :
3
Question :
From a group of 7 men and 6 women, five persons are to be selected to form a committee so that at least 3 men are there on the committee. In how many ways can it be done?
The actual series is in this form 3, 3*2-1, 5, 5*4-1, 7, 7*6-1, 9, so the next term must be 9*8-1=71
The following questions are based on the information given below:
1. There is a cuboid whose dimensions are 4 x 3 x 3 cm.
2. The opposite faces of dimensions 4 x 3 are coloured yellow.
3. The opposite faces of other dimensions 4 x 3 are coloured red.
4. The opposite faces of dimensions 3 x 3 are coloured green.
5. Now the cuboid is cut into small cubes of side 1 cm.
Q. No. :
6
Question :
How many small cubes will have only one face coloured ?
Number of backward uneducated people who are employed is 5.
Prashant, Abhishek, Ramesh, Santosh, Tarun, Umesh, Varun and Dishant are sitting round the circle and are facing the centre:
1. Prashant is second to the right of Tarun who is the neighbour of Ramesh and Varun.
2. Santosh is not the neighbour of Prashant.
3. Varun is the neighbour of Umesh.
4. Abhishek is not between Santosh and Dishant. Dishant is not between Umesh and Santosh.
Each of the following questions is based on the following information:
1. 8-trees → mango, guava, papaya, pomegranate, lemon, banana, raspberry and apple are in two rows 4 in each facing North and South.
2. Lemon is between mango and apple but just opposite to guava.
3. Banana is at one end of a line and is just next in the right of guava or either banana tree is just after guava tree.
4. Raspberry tree which at one end of a line, is just diagonally opposite to mango tree.
Cookies are usually small text files that are stored on your computer's browser directory or program data subfolders. Cookies are created when you use your browser to visit a website that uses cookies to keep track of your movements within the site, help you resume where you left off, remember your registered login, theme selection, preferences, and other customization functions.
Cookies are often indispensable for websites that have huge databases, need logins, have customizable themes, other advanced features.
Cookies usually don't contain much information except for the url of the website that created the cookie, the duration of the cookie's abilities and effects, and a random number. Due to the little amount of information a cookie contains, it usually cannot be used to reveal your identity or personally identifying information.
There are two types of cookies: session cookies and persistent cookies. Session cookies are created temporarily in your browser's subfolder while you are visiting a website. Once you leave the site, the session cookie is deleted. On the other hand, persistent cookie files remain in your browser's subfolder and are activated again once you visit the website that created that particular cookie. A persistent cookie remains in the browser's subfolder for the duration period set within the cookie's file.
A cookie is a text-only string of information that a website transfers to the cookie file of the browser on your computer's hard disk so that the website can remember who you are.
A cookie will typically contain the name of the domain from which the cookie has come, the "lifetime" of the cookie, and a value, usually a randomly generated unique number. Two types of cookies are used on this website-session cookies, which are temporary cookies that remain in the cookie file of your browser until you leave the site, and persistent cookies, which remain in the cookie file of your browser for much longer (though how long will depend on the lifetime of the specific cookie).
Cookies can help a website to arrange content to match your preferred interests more quickly. Most major websites use cookies. Cookies cannot be used by themselves to identify you
Q. No. :
1
Question :
The major difference between persistent cookies and temporary cookies are
A :
Number of information hold
B :
Duration of existence
C :
Duration of keeping information
D :
The location where they exists
Answer: B
Q. No. :
2
Question :
Cookies are used for
A :
tracking ip of user
B :
keeping user's information in server side
C :
keeping user's information in user's hard disk
D :
keeping track of number of clicks
Answer: C
Q. No. :
3
Question :
Session cookies are
A :
created temporarily in browser's subfolder
B :
created temporarily in your user's subfolder or directory
C :
same as persistent cookie's except for the number of information it holds
D :
remains in the browser's subfolder for the duration period set within the cookie's file.
Answer: A
Q. No. :
4
Question :
What information cookies do hold?
A :
User's Ip address, URL of website, duration of session
B :
Duration of cookie's availability, URL of website
C :
A random number for an instance, URL of website, User's login information
D :
All of the above
Answer: B
Q. No. :
5
Question :
What is cookie?
A :
Small binary files used to store user's information
B :
small text files used to store user's information
C :
small text files that is stored in the server side
D :
A temporary file created by the server used to maintain server information
Answer: B
Q. No. :
6
Question :
Which of the following is false?
A :
Without cookies, websites and their servers have no memory.
B :
Websites typically use session cookies to ensure that you are recognised when you move from page to page within one site and that any information you have entered is remembered.
C :
Persistent cookies help websites remember your information and settings when you visit them in the future.
D :
Cookies can execute functions or make copies of themselves.
Answer: D
Q. No. :
7
Question :
Which of the following is false?
A :
Cookies are used for websites that have huge databases, need logins, have customizable themes, other advanced features.
B :
A cookie is a text-only string of information that a website transfers to the cookie file of the browser on your computer's hard disk so that the website can remember who you are.
C :
Session cookies are temporary cookie files, which are erased when you close your computer
D :
Persistent cookies are files stay in one of your browser's subfolders until you delete them manually or your browser deletes them based on the duration period contained within the persistent cookie's file
Answer: C
Q. No. :
8
Question :
Persistent cookies
A :
can be erased
B :
can never be erased
C :
cant say
D :
superior than temporary cookies
Answer: A
Q. No. :
9
Question :
THe most basic feature made possible by persistent cookies :
A :
Authentication
B :
Language selection
C :
internal site bookmarks or favorites,
D :
menu preferences,
Answer: A
Q. No. :
10
Question :
Which of the following is false:
A :
Cookies are plain text files.
B :
Cookies are not compiled so they cannot execute functions or make copies of themselves.
C :
Cookies have a very limited function
D :
Cookies can scan or retrieve personal information.
Answer: D
Q. No. :
11
Question :
Cookies are intended to help you access a site faster and more efficiently.
int a=250; The variable a is declared as an integer type and initialized to value 250. printf("%1d
", a); It prints the value of variable a. Hence the output of the program is 250.
Q. No. :
3
Question :
Consider the following statement:
#define hypoteneuse(a,b) sqrt(a*a + b*b);
The macro-call hypotenuse(a + 2,b + 3);
A :
finds the hypotenuse of a triangle with sides a + 2 and b + 2.
Step 1: int fun(int); Here we declare the prototype of the function fun().
Step 2: int i = fun(10); The variable i is declared as an integer type and the result of the fun(10) will be stored in the variable i.
Step 3: int fun(int i){ return (i++); } Inside the fun() we are returning a value return(i++). It returns 10. because i++ is the post-increment operator.
Step 4: Then the control back to the main function and the value 10 is assigned to variable i.
Step 5: printf("%d
", --i); Here --i denoted pre-increment. Hence it prints the value 9.
Step 1: char str1[] = "Hello"; The variable str1 is declared as an array of characters and initialized with a string "Hello".
Step 2: char str2[] = "Hello"; The variable str2 is declared as an array of characters and initialized with a string "Hello". We have use strcmp(s1,s2) function to compare strings.
Step 3: if(str1 == str2) here the address of str1 and str2 are compared. The address of both variable is not same. Hence the if condition is failed.
With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Peter" and the "LastName" is "Jackson"?
A :
SELECT * FROM Persons WHERE FirstName=='Peter' AND LastName=='Jackson'
B :
SELECT * FROM Persons WHERE FirstName LIKE 'Peter' AND LastName LIKE 'Jackson'
C :
SELECT FirstName='Peter', LastName='Jackson' FROM Persons
D :
SELECT * FROM Persons WHERE FirstName LIKE '%Peter%' AND LastName LIKE '%Jackson%'
Answer: B
Q. No. :
2
Question :
The default character for specifying runtime variables in SELECT statements is
A :
Ampersand
B :
Ellipses
C :
Quotation marks
D :
Asterisk
Answer: A
Q. No. :
3
Question :
Omitting the WHERE clause from a DELETE statement has which of the following effects?
A :
The delete statement will fail because there are no records to delete.
B :
The delete statement will prompt the user to enter criteria for the deletion
C :
The delete statement will fail because of syntax error.
D :
The delete statement will remove all records from the table.
Answer: D
Q. No. :
4
Question :
Which of the following group functions do not ignore NULL values?
A :
MAX
B :
COUNT
C :
SUM
D :
COUNT(*)
Answer: D
Q. No. :
5
Question :
Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE. The SQL statement SELECT COUNT(SALARY) FROM EMPLOYEE WHERE SALARY NOT IN (NULL); prints
expr is a shell command that evaluates arithmetic expression, given as argument to it. The multiplication symbol *, will be treated as metacharacter by shell
Q. No. :
3
Question :
Which will display only unique lines from foo?
A :
sort -n foo
B :
sort -u foo
C :
unique foo
D :
sed foo
Answer: B
Q. No. :
4
Question :
What is the command to connecto to remote terminals?
A :
ping
B :
telnet
C :
ftp
D :
mime
Answer: B
Q. No. :
5
Question :
Which command would you use to change the priority of a running process?