Wednesday, February 29, 2012

Joomla Tutorial Exam


Global Configeration (Chapter-06)

Q: 01.   What is metadata and why it is use?
 Q: 02.  What is Meta Description?
Q: 03.   What is Meta Keywords
----------------------------------------------------------------
Q: 01. Write down the name of the difference type of menu in Joomla! ?

 Q: 02.  What is modules in joomla?

Q: 03. Write down the name of defferent type of extension in joomla

Q: 04. Why Gzip page compressor in used?

Q: 05.  What is special user

Q: 06. What is functions?

Q: 07.  What  are differed category of areas on the page?

Tuesday, February 28, 2012

Joomla Tutorial Question

Site Menu

Q: 01. What  are the groups provide by joomla in front end?

Q: 02. What is the difference between register group  & author group?

Q: 03. What is the difference between  author   group & editor  group?

Q: 04. What is the difference between editor  group  & publisher group? 

Q: 05. what are the group provide by joomla in back end?

Q: 06. what are the group provide by joomla in front end?

Q: 07. what are the limitation of manager group and user group

Q: 08. what are the limitation of administrator user group?

Joomla Tutorial Exam Question

Chapter-01



Q: 01. what are the features of Joomla? P-13


Q: 02. What is CMS? P-01

Q: 03. What is WCMS? P-01



Q: 04. What is front end and back end? P-06


Q: 05. What is content? P- 06


Q: 06. What is component, templetes, plug-ins? P07


Q: 07. What is API?

Sunday, February 12, 2012

MYSQL MCQ For Exam

Chapter-27
1.    MySQL’s storage engines, namely
A.    ARCHIVE
B.     Index
C.     XLS,
D.     InnoDB
E.     MyISAM.
Ans: A,D,E
2.    A relational database  ___________ is a data structure used to store and organize information.
A.    View
B.    Table
C.    Report
D.    Stored Procedure
Ans: B
3.    MyISAM tables handle transactions, meaning that you should use this type for all
of your transactional needs, so as not to incur the extra overhead required of transactional.
A.    True 
B.    False
Ans: B
4.    Which command use to view storage engine list?
A.    View Engine
B.    Show Storage
C.    Show Engine
Ans: C

5.    How Do I Convert ISAM Tables to MyISAM Tables?
A.    MODIFY TABLE table_name TYPE=MYISAM;
B.    ADD  TABLE table_name TYPE=MYISAM;
C.    ALTER TABLE table_name TYPE=MYISAM;
Ans: C   
6.    What is the maximum size of the VARCHAR Column type?
A.    255 Byte
B.    255 Characters
C.    512 Byte
D.    512 Characters
Ans: B
Chapter-28
1.    How the Privilege System Works?
A.    Authentication
B.    Grant
C.    Revoke
D.    Authorization
Ans: A, D
2.    ___________Determines whether a user is even allowed to connect to the server.
A.    Authentication
B.    Authorization
Ans: A
3.    Where Is Access Information Stored?
A.    MySQL Datbase
B.    User Database
C.    User Define Database
Ans: A
4.    Which mysql command use to drop a user?
A.    DROP  from user jason@localhost;
B.    Delete from  user jason@localhost;
C.    Delete user jason@localhost;
D.    DROP user jason@localhost;
Ans: D.
5.    Which mysql command use to rename user?
A.    CHANGE USER jason@localhost TO jasongilmore@localhost
B.    RENAME  USER jason@localhost;
C.    RENAME USER jason@localhost TO jasongilmore@localhost
Ans: C
Chapter- 30
1.    What are the key features of MySql extension?
A.    Object oriented:
B.    T Embedded Client support
C.    Transactional support:
Ans: A, C

2.    Which Method use to select MySql Database?
A.    mysqli__db (mysqli link, string dbname)
B.    mysqli_select_database (mysqli link, string dbname)
C.    mysqli__database (mysqli link, string dbname)
D.    mysqli_select_db (mysqli link, string dbname)
Ans: D

3.    Which function is responsible for closing the connection?
A.    mysql_Exit (mysqli link)
B.    mysql_close (mysqli link)
C.    mysql_Nothing (mysqli link)
Ans: B
4.    What is the diference between mysqli_fetch_object (mysqli_result result) and mysqli_fetch_array (mysqli_result result)?
A.    mysqli_fetch_object  except that an object is returned rather than an array.
B.    Both Function are similar
C.    mysqli_fetch_object  except that an any value is returned rather than an array.
Ans: A
5 . commit method commits the present transaction to the database, returning TRUE on success and FALSE otherwise.
A.    True B. False
Ans: A
Chapter – 31
1.    A set of SQL statement stored in the database and executed by calling an assigned name within a query in known as What?
A.    Stored Routine
B.    Stored Function
C.    Stored Tables
D.    View
Ans: A
2.    Stored routines have a number of advantages
A.    Consistency
B.    Performance
C.    Reference integrity
D.    Security
Ans: A, B, C
3.    MySQL actually implements two procedural variants, which are collectively referred to as stored routines are
A.    Stored Function
B.    Trigger
C.    Views
D.    Stored Procedure
Ans: A, D
4.    Which stored Routine  support execution of SQL commands such as SELECT, INSERT, UPDATE, and DELETE?
A.    Stored Function
B.    Trigger
C.    Views
D.    Stored Procedure
Ans: D.
5.    How to create a stored Routine?
A.    CREATE Stored Routine get_inventory()
Select * from Student

B.    CREATE PROCEDURE get_inventory()
Select * from Student
C.    CREATE Routine  get_inventory()
Select * from Student
D.    Make  PROCEDURE get_inventory()
Select * from Student
Ans: B
Chapter- 32

1.    Which of the following statement is true about trigger?
A.    A trigger is a task that executes in response to some predetermined event
B.    A set of SQL statement stored in the database and executed by calling an assigned name
C.    consists of a set of rows that is returned if a particular query is executed
Ans: A

2.    A After trigger shouldn’t be used to enforce propagation or referential integrity, because it’s possible that other before triggers could execute after it.
A.    True B. False   Ans: B

3.    Which command produces several attributes for a trigger or set of triggers?
A.    SHOW TRIGGERS
B.    VIEW TRIGGERS
C.    DISPLAY TRIGGERS
Ans: A
4.    Which statement use to delete triggers?
A.    DROP TRIGGER table_name.trigger_name
B.    TRIGGER table_name.trigger_name
C.    DELETE TRIGGER table_name.trigger_name
Ans: A

5.    Which of the following statement is correct?
A.    Views are supported: A trigger can be used in conjunction with a view.
B.    Transactions are not supported: A trigger can’t be involved in the beginning or conclusion of a transaction.
C.    Result sets can be returned from a trigger:
Ans: B
Chapter-33
1.    Which of the following statement is true about View?
A.    A View is a task that executes in response to some predetermined event
B.    A set of SQL statement stored in the database and executed by calling an assigned name
C.    consists of a set of rows that is returned if a particular query is executed
Ans: C
2.  What are the advantageous of View?
A. Simplicity
B. Security
C. Performance
D. Transaction
Ans: A,B

3. Which of the following example of creating a view?
                         A. Make A  VIEW employee_contact_info_view AS
  SELECT first_name, last_name, email, phone
  FROM employee ORDER BY last_name ASC;
B.    CREATE VIEW employee_contact_info_view AS
 SELECT first_name, last_name, email, phone
 FROM employee ORDER BY last_name ASC;
C.    CREATE employee_contact_info_view  from
 SELECT first_name, last_name, email, phone
FROM employee ORDER BY last_name ASC;

Ans: B

4. Which statement use to show the view structure?
A. DISPLAY  employee_contact_info_view;
B. DESC employee_contact_info_view;
C. DESCRIBE employee_contact_info_view;
               Ans: C
5. WITH CHECK OPTION clause will prevent any subsequent view update from changing any value in the column to anything other than Columbus.
A. True B. False
Ans: A


Chapter- 34 & 35
1.    Which of the following statement are correct?
A.    The SQL subquery is a separate SELECT statement that is embedded in the main statement and may be executed once for each row of the result set.
B.    cursor, such as its scrolling behavior and the query used to build the result set on which the cursor operates
C.    MySQL’s database indexing and full-text search capabilities, and shows you how to execute Web-based database searches using PHP
D.    All of Them
Ans: D
2.    How to create a cursor?
A.    Create cursor_name CURSOR FOR select_statement
B.    DECLARE cursor_name CURSOR FOR select_statement
C.    cursor_name CURSOR FOR select_statement
D.    DECLARE  CURSOR  cursor_name  FOR select_statement
Ans: B


3.    For example, to limit returned query results to just the first five rows, construct the following query:
A.    SELECT name, price FROM product ORDER BY name ASC MIN 5;
B.    SELECT name, price FROM product ORDER BY name ASC LIMIT 5, 15;
C.    SELECT name, price FROM product ORDER BY name ASC LIMIT 5;
D.    SELECT name, price FROM product ORDER BY name ASC LIMIT 5,0;
Ans: C
4.    _____________________ is essentially an ordered (or indexed) subset of table columns, with each row entry pointing to its corresponding table row
A.    View  B. An index C. Stored Routine D. Trigger      Ans: B
5.    What are the Advantages of MySql Database Index?
A.    Uniqueness
B.    Query Optimization
C.    Text Searching
D.    Database table search
Ans: A,B,C
Chapter- 36 & 37
1.    Which of the following statement is true about Transaction?
A.    A View is a task that executes in response to some predetermined event
B.    A set of SQL statement stored in the database and executed by calling an assigned name
C.    consists of a set of rows that is returned if a particular query is executed
D.    A transaction is an ordered group of database operations that are perceived as a single unit
Ans: D
2.    What is the  four pillars of the transactional process ?
A.    Performance    B. Atomicity C. Consistency D.Isolation E.Durability  Ans: B,C,D,E
3.    Which statement, a command that is executed much like a query is executed within the mysql client, is used to import delimited text files into a MySQL table?
A.    LOAD DATA INFILE
B.    IMPORT DATA INFILE
C.     DATA INFILE
D.    ADD DATA INFILE
Ans: A
4.    Which SQL statement is actually a variant of the SELECT query. It’s used when you want to direct query output to a text file?
A.    QUERY  INTO OUTFILE   B . ADD INTO OUTFILE C. INTO OUTFILE  D. SELECT INTO OUTFILE
Ans: D
5.    The ________________is really just a command-line version of the LOAD DATA INFILE SQL query.
A.    mysqlimport client  B. SELECT INTO OUTFILE C. LOAD DATA INFILE     

Ans: A

MYSQL MCQ For Exam

Chapter- 15

1.    Which of the following function provides a convenient means for moving an uploaded file from file’the temporary directory to a final location?
A.    Move_uploaded_files()
B.    Move_files();
C.    Move_file_Uploaded();
Ans: A

2.    How to get the file size, in bytes of the file uploaded from the client Machine?
A.    $_Files[‘userfile’]_size Variable
B.    $_Files[‘userfile’][‘size’] variable
C.    $_Files[‘size’][‘tempname’]
D.    All of them
Ans: B
3.    _________________ supperglobal stores a variety of information pertinent to file uploaded to the server via a PHP Script.
A.    $_File_uploaded
B.    B. $_Files
C.    $_Files_Array()
Ans: B
4.    Which of the following function determine whether a file specified by the input parameters filename is uploaded using the post method?
A.    Uploaded_file()
B.    File_uploaded()
C.    Is_uploaded_file()
D.    None of them
Ans: C
5.    Which of the following directive determines the maximum size in megabytes of an uploaded file?
A.    Uploaded_file()
B.    File_uploaded()
C.    Max_Size()
D.    Upload_max_size()
Ans: D

 
Chapter-16

1.    ____________________ allows to use domain names in place of the corresponding IP Address?
A.    FTP
B.    DNA
C.    DNS
D.    DNN
Ans: C
2.    How to check the domain name exists or not?
A.    Use checkDomain()
B.    Use chechkdnsrr()
C.    Use DNS_Checking()
Ans: B

3.    Which of the following function returns an array consisting of various DNS resource records pertinent to a specific domain?
A.    Dns_record()
B.    Dns_get_record();
C.    Domain_get_record()
ANs: B
4.    Which of the following function returns the port number of a  specific service?
A.    Dns_record()
B.    Get_port_number();
C.    Getserverbyname()
Ans:  C
5.    Which of the following are not a mail function in PHP?
A.    Mail_send_to
B.    Mail()
C.    Send()
D.    Sendmail()
Ans: A,C,D
6.    To send a mail, Which of the following statement should be used?
A.    Send_mail("test@example.com", "This is a subject", "This is the mail body")
B.    mail("test@example.com", "This is a subject", "This is the mail body")
C.    mailto:("test@example.com", "This is a subject", "This is the mail body")
ans: B

Chapter- 18
1.    A session is started simply by calling session_start() like this: session_start();
A.    True  B. False
Ans: A

2.    Erase the session variables from memory, and even completely wipe the session from storage done through the
A.    session_unset() 
B.     session_destroy()
C.     Session_none()
D.    Session_fresh
Ans: A, B
3.    Which function completely removing the session from the storage mechanism?
A.    session_unset() 
B.     session_destroy()
C.     Session_none()
D.    Session_fresh
Ans: B
4.    Which function completely removing the session from the memory?
A.    session_unset() 
B.     session_destroy()
C.     Session_none()
D.    Session_fresh
Ans: A
5.    Which function offers a particularly convenient method for manually encoding
all session variables into a single string?
A.    session_unset() 
B.     session_destroy()
C.     session_encoding()
D.    session_encode
Ans: D

6.    Encoded session data can be decoded. Which function offers a particularly convenient method for manually decode all session variables?
A.    session_unset() 
B.    session_destroy()
C.     session_decoding()
D.    session_decode()
Ans: D
Chapter-20
1.    The _____________plays an enormously important role in the implementation of Web Services?
A.    SOAP protocol
B.    FTP Protocol
C.    HTTP Protocol
D.    XML Protocol
Ans: A

2.    Which of the following statement is true about Web Services?
A.    Web Service is a network service to support interoperable machine-to-machine interaction over a network
B.    Web Service is a mailing systems to send a mail  over a network
C.    Web Service is a software system designed to support interoperable machine-to-machine interaction over a network
Ans: C

3.    RSS offers a formalized means for encapsulating a Web site’s content within an XML-based structure, known as a feed
A.    True  B. False
Ans: A

4.    XML document is stored in a variable, which function  use to read it into the object?
A.    simplexml_load_string()
B.    simplexml_load()
C.    xml_load_string()
D.    load_string()
Ans: A

5.    How to retrieve the XML Attributes?
A.    Use attributes() method
B.    Use element() Method
C.    Use root() Method
Ans: A

6.    FTP  is a lightweight protocol intended for exchanging structured information in  decentralized, distributed environment
A.    True B. False     Ans: B


Chapter – 21
1.    Which function offers a great tool for viewing a summary of PHP’s configuration on a given server?
A.    The phpinfo()
B.    The info()
C.    The ApachiInfo()
Ans: A
2.    __________can be defined as the translation of data into a format that is intended to be unread able by anyone except the intended party.
A.    Encryption
B.    Decryption
Ans: A

3.    Which algorithm can also be used as a password verification system?
A.    Encryption
B.    MD5
C.    MHash
Ans: B
4.    Which data encryption package providing support for two-way encryption?
A.    MD5
B.    MHash
C.    Mcrypt
D.    Dcript
Ans: C

5.    The ______________function encrypts data, returning the encrypted result?
A.    mcrypt_encrypt()
B.    encrypt()
C.    mcrypt()
Ans: A


Chapter-25

1.    Mysql is a Relational Database
A.    True  B. False                   Ans: A
2.    Which of the following are MySql Features?
A.    Replication
B.    Query Caching
C.    Storage
D.    Security
Ans: A,B,D
3.    What are the MySql License Options?
A.    MySql Open Source License
B.    MySql Personal Edition License
C.    Commercial License
D.    Enterprise Edition License
Ans: A,C
4.    Which of the following are MySql 5.0 Features?
A.    Complete Foreign key Support
B.    Stored Procedure Support
C.    Integrated Report support
D.    Batch Query Support
Ans: A, B
5.    What are the storage engine of MySql?
A.    HDD
B.    InnoDB
C.    MyISM
D.    Backup
Ans: B,C
Chapter 25 & 26
1.    How to set the administrator password?
A.    SET ADMINISTRATOR FOR root@localhost=PASSWORD('secret');
B.    SET ROOT PASSWORD  FOR root@localhost=PASSWORD('secret');
C.    SET PASSWORD FOR root@localhost=PASSWORD('secret');
D.    SET PASSWORD FOR Admininstrator@localhost=PASSWORD('secret');
Ans: C
2.    Which of the following are true about MySqL Client?
A.    capable of managing almost every conceivable aspect of a MySQL server, including creating, modifying, and deleting tables and databases
B.    Capable of Database backup, Restore etc.
C.    Viewing Configuration Variables and System Status
Ans: A
3.    Which command use to view all the tables?
A.    View Tables
B.    Show Tables
C.    Display Tables
Ans: B
4.    To view a list of all existing databases
A.    View Databases
B.    Show Databases
C.    Display Databases
Ans: B
5.    How to view the structure of one of those tables?
A.    Structure Student
B.    Display student
C.    Describe student
D.    View Student
Ans: C