1. Which SQL keyword is used to retrieve data from a table?
(a) SELECT (b) FROM (c) WHERE (d) JOIN 2. Which of the following principle apply to 2NF? (a) a table must have a primary key (b) all non-key attributes must be dependent on the primary key (c) all attributes must be atomic (d) a table must have at least more than two attributes 3. Which of the following is a device that connects two or more networks and can filter and forward network traffic based on its destination address? (a) switch (b) router (c) hub (d) modem 4. Which JavaScript function use to text input? (a) alert() (b) prompt() (c) confirm() (d) console.log() 5. Which of the following PHP functions is used to connect to a MySQL database? (a) mysql_connect() (b) mysqli_connect() (c) pdo_connect() (d) db_connect() 6. What is the correct way to open a file named “data.txt” in C for reading? (a) fopen(“data.txt”,”r”); (b) fopen(“data.txt”,”w”); (c) fopen(“data.txt”,”a”); (d) fopen(“data.txt”,”rb”); 7. Which of the following concepts in object-oriented programming refers to binding data and function into a single unit. (a) Encapsulation (b) Abstraction (c) Polymorphism (d) Inheritance 8. What does the term “QA” stand for in the software development process? (a) Quality Assurance (b) Quality Analysis (c) Quality Assessment (d) Quantity Assurance 9. What type of communication technology is commonly used in IoT devices? (a) Wi-Fi (b) Bluetooth (c) Zigbee (d) All of the above- (a) SELECT
- (b) all non-key attributes must be dependent on the primary key
- (b) router
- (b) prompt()
- (b) mysqli_connect()
- (a) fopen("data.txt","r");
- (a) Encapsulation
- (a) Quality Assurance
- (d) All of the above
No comments:
Post a Comment