Multiple Choice Questions
- A key attribute of a master table being used in a child table for setting relationship is known as:
- primary key
- candidate key
- foreign key
- super key
- Which SQL keyword is used to retrieve data from a table?
- SELECT
- FROM
- WHERE
- JOIN
- With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" ends with "a".
- SELECT * FROM Persons WHERE FirstName="a";
- SELECT * FROM Persons WHERE FirstName="a%";
- SELECT * FROM Persons WHERE FirstName="%a";
- SELECT * FROM Persons WHERE FirstName="%a%";
- What is the output of this statement "printf("%d", (a++))"?
- The value of (a + 1)
- The current value of a
- Error message
- Garbage
- Which of the following methods is used to access HTML elements using JavaScript?
- getElementById()
- getElementByClassName()
- getElementsByTagName()
- all of the above.
- Which function is used to connect to the MySql database?
- mysqli_connect()
- mysqli_query()
- mysqli_Open()
- $mysqli_con()
- Which of the following is remote login service?
- Video Conference
- Telnet
- FTP
- ALL
- Which protocol is used to deliver a message to the mail server.
- FTP
- TCP
- SMTP
- POP
- Which layer of OSI is responsible for controlling flow of data and error correction?
- Transport
- Network
- Application
- session
- A presence of primary key attribute of a master table in a child table for setting relationship is known as:
- primary key
- candidate key
- foreign key
- super key
- Which function is used to connect to the MySql database?
- mysqli_connect()
- mysqli_Open()
- mysqli_query()
- $mysqli_con()
- With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with "a".
- SELECT * FROM Persons WHERE FirstName="a";
- SELECT * FROM Persons WHERE FirstName="a%";
- SELECT * FROM Persons WHERE FirstName="%a";
- SELECT * FROM Persons WHERE FirstName="%a%";
- Which statement is used to print the values in PHP?
- Cho
- Eecho
- echo
- echho
- Which syntax is used for opening and closing a PHP script?
- <php> . . . </php>
- <?php . . . ?>
- ? php . . .? php
- <p> . . . </p>
- What is the output of this statement "printf("%d", (++a))"?
- The value of a will be increased by 1 after the process
- The current value will be printed
- Error message
- The value of a will increased by 1 and print
- Which of the following is an incorrect IP address?
- 192.168.0.1
- 192.168.1.256
- 172.255.0.0
- 202.10.79.4
- Which of the following represents the fastest data transmission speed?
- Gbps.
- Kbps.
- Bps.
- Mbps.
- What is the full form of Mbps?
- Mega Bits Per Second
- Mega Bytes Per Second
- Mega Bands Per Second
- Mega Bites Per Second
0 Comments
I really appreciate for your words. Thank you very much for your comment.