Database Administration Questions


Q:

What's the difference between Session and Cookie?

Answer

The principle distinction amongst sessions and cookies is that sessions are put away on the server, and cookies are put away on the client's PCs in the content record position. Cookies can not hold various variables,But Session can hold numerous variables.We can set expiry for a cookie,The session just stays dynamic the length of the program is open.Users don't have admittance to the information you put away in Session,Since it is put away in the server. Session is mostly utilized for login/logout reason while cookies utilizing for client movement following.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP
Job Role: Database Administration

1 4082
Q:

From a group of 7 boys and 6 girls, five persons are to be selected to form a team, so that at least 3 girls are there in the team. In how many ways can it be done?

A) 427 B) 531
C) 651 D) 714
 
Answer & Explanation Answer: B) 531

Explanation:

Given in the question that, there are 7 boys and 6 girls. 

Team members = 5

Now, required number of ways in which a team of 5 having atleast 3 girls in the team = 

6C3  x 7C2  + 6C4 x 7C1 + 6C5= 6x5x43x2x1 x 7x62x1 + 6x5x4x34x3x2x1 x 7 + 6x5x4x3x25x4x3x2x1= 420 + 105 + 6= 531.

Report Error

View Answer Report Error Discuss

5 4079
Q:

Which of the following memory is volatile?

A) RAM B) Floppy disc
C) ROM D) Magnetic tape
 
Answer & Explanation Answer: A) RAM

Explanation:

Volatile memory is computer memory that requires power to maintain the stored information. It is a temporary memeory which cannot contain information permanently.

Example :: RAM or Random Access Memory

Report Error

View Answer Report Error Discuss

4 4035
Q:

MS-EXCEL is based on

A) OS/2 B) UNIX
C) WINDOWS D) DOS
 
Answer & Explanation Answer: C) WINDOWS

Explanation:

Microsoft Excel is a spreadsheet developed by Microsoft for Windows, macOS, Android and iOS. It features calculation, graphing tools, pivot tables, and a macro programming language called Visual Basic for Applications.

Report Error

View Answer Report Error Discuss

4 4015
Q:

Which is faster Light or Sound?

A) Light B) Sound
C) Both are same D) Can't be determined
 
Answer & Explanation Answer: A) Light

Explanation:

Light travels Faster than Sound.

 

Light :

1. Light doesn't require a medium to travel.

2. It travels in the vaccum with the speed of 1,86,000 miles per second.

 

Sound:

1. Sound rquire a medium.

2. It travels in the Air with the speed of 340 meters per second.

3. It travels Faster in Water than in Air.

4. It travels Faster in Steel than in Water. 

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank PO , Database Administration , IT Trainer

9 4015
Q:

Synonym of Trustworthy?

A) Tenacity B) Insolent
C) Resolute D) Reliable
 
Answer & Explanation Answer: D) Reliable

Explanation:
Report Error

View Answer Report Error Discuss

3 4004
Q:

What is the difference between mysql_connect and mysql_pconnect?

Answer

There is a decent page in the php manual on the subject, in short mysql_pconnect() makes a persevering association with the database which implies a SQL join that don't close when the execution of your script closes. mysql_connect()provides just for the database new association while utilizing mysql_pconnect , the capacity would first attempt to locate a (relentless) connection that is as of now open with the same host, username and password. On the off chance that one is found, an identifier for it will be returned as opposed to opening another connection... the connection with the SQL server won't be terminated when the execution of the script ends. Rather, the link will stay open for future use.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP
Job Role: Database Administration

0 3990
Q:

Who invented Electric Generator?

A) Michael Faraday B) Thomas Alva Edison
C) Graham Bell D) Alfred Nobel
 
Answer & Explanation Answer: A) Michael Faraday

Explanation:

Michael Faraday invented Electric Generator in 1831.

 

        • The operating principle of electromagnetic generators was discovered in the years of 1831–1832 by Michael Faraday.

 

        • The principle later called Faraday's law, is that an electromotive force is generated in an electrical conductor which encircles a varying magnetic flux.


 

Report Error

View Answer Report Error Discuss

Filed Under: Inventions
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: IT Trainer , Database Administration , Bank PO , Analyst

11 3986