Let the number be ‘x’. 75% of x can be written as 3/4x. Given, 3/4x+75=x Solving gives x=300.
Q. No. :
2
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?
Let X be required events and S be the sample space, then X= {(2,3),(2,6),(4,3),(4,6),(6,3),(6,6),(3,2),(6,2),(3,4),(6,4),(3,6)} n(X)=11, n(S)=36 Hence, required probability = n(X)/n(S)= 11/36
Q. No. :
4
Question :
The present age of a father is 3 years more than three times the age of his son.Three years hence,father's age will be 10 years more than twice the age of the son. Find the present ageof the father.
Solution: Let the present age be 'x' years. Then father's present age is 3x+3 years. Three years hence (3x+3)+3=2(x+3)+10 x=10. Hence father's present age = 3x+3 = 33 years
Q. No. :
5
Question :
In a cage there are only cows and hens.If the number of heads are 200 and legs are 514, find the no of cows ?
Let ‘x’ be the number of cows and ‘y’ be the number of hens present in the cage. No. of heads=200 Mathematically number of heads can be represented as x+y=200 …………………….(i) Similarly, No. of legs can be represented as 4x+2y=514…………………..(ii) Solving (i) and (ii) gives x=57; and y=143
Study the following figure and answer the questions given below.
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.
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. :
17
Question :
How many small cubes will have only one face coloured ?
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.
Step 1: void swap(char *, char *); This prototype tells the compiler that the function swap accept two strings as arguments and it does not return anything.
Step 2: char *pstr[2] = {"Hello", "GPLgtests"}; The variable pstr is declared as an pointer to the array of strings. It is initialized to pstr[0] = "Hello", pstr[1] = "GPLgtests"
Step 3: swap(pstr[0], pstr[1]); The swap function is called by "call by value". Hence it does not affect the output of the program.
If the swap function is "called by reference" it will affect the variable pstr.
Step 4: printf("%s
%s", pstr[0], pstr[1]); It prints the value of pstr[0] and pstr[1].
Hence the output of the program is : Hello GPLgtests
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.
Step 4: At the else part it prints "Unequal".
Q. No. :
5
Question :
Which of the following statements are correct about the program below?
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 :
Which SQL statement is used to delete data from a database?
A :
DELETE
B :
TRUNCATE
C :
REMOVE
D :
UPDATE
Answer: A
Q. No. :
3
Question :
User JANKO would like to insert a row into the EMPLOYEE table, which has three columns: EMPID, LASTNAME, and SALARY. The user would like to enter data for EMPID 59694, LASTNAME Harris, but no salary. Which statement would work best?
A :
NSERT INTO employee VALUES (59694,’HARRIS’, NULL);
B :
INSERT INTO employee VALUES (59694,’HARRIS’);
C :
INSERT INTO employee (EMPID, LASTNAME, SALARY) VALUES (59694,’HARRIS’);
D :
INSERT INTO employee (SELECT 59694 FROM ‘HARRIS’);
Answer: A
Q. No. :
4
Question :
<> and != both are same operator into SQL
A :
True
B :
Flase
C :
Both are not used into SQL.
D :
Both are used assembly languages only.
Answer: A
Q. No. :
5
Question :
Several months ago, a user was created called bkup_admin for use with backups. A new backup program was purchased which needs all the rights of bkup_admin but needs to be called bkup_mgr. How would you go about removing bkup_admin and adding bkup_mgr?
A :
Simply use the RENAME command.
B :
Use the ALTER command.
C :
Export user bkup_admin, DROP with cascade user bkup_admin, Import using user to user.
D :
Export user bkup_admin, DROP user bkup_admin, Import using user to user.
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 :
The shell command cat x y > x
A :
doesn't work
B :
replaces the contents of the file x, by the contents of file y
C :
does nothing, other than displaying an error message
D :
None
Answer: B
Q. No. :
4
Question :
Which is the Shell of UNIX?
A :
bash
B :
dash
C :
Korn
D :
Bourne
Answer: D
Q. No. :
5
Question :
To assign all premissions to the owner, read and write premissions to the group, and only execute permissions to the others