Searching for "rotator"

Q:

If an object moves in a purely rotatory motion, then each constituent particle of the body moves in a circle, the centre of which is located on a line is called _______.

A) the axis of rotation B) the line of rotation
C) the spinning rod D) the fixed line
 
Answer & Explanation Answer: A) the axis of rotation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

Q:

What are the two kinds of Rotatory motion?

A) Spin and Vibrational motion B) Spin and Projectile motion
C) Spin and Orbital motion D) Spin and Translatory motion
 
Answer & Explanation Answer: C) Spin and Orbital motion

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

Q:

Describe how to create a simple AD rotator script without using database in PHP.

Answer

Following are the steps to create a simple AD rotator script without using database in PHP:


- All the ad’s can be collected in one place and be displayed randomly.rand() function can be used for this purpose.


- In order to NOT use any database, a flat file can be used to store the ad’s.


- In order to store the Ad’s information (HTML code), a flat file say “ad.txt” can be created.


- The random number can be stored in a variable 


$result_random=rand(1, 100);


- Conditions can be checked to display the ad’s.


if($result_random<=70)


{


      echo "Display ad1";


}

Report Error

View answer Workspace Report Error Discuss

Subject: PHP