WorksheetsBackEnd - Day 7
Total questions: 25
Worksheet time: 13mins
What is data in a MySQL database organized into?
Objects
Tables
Networks
File systems
What represents an ‘attribute’ in a relational database?
Table
Row
Column
Object
MongoDB is a _________ database that provides high performance, high availability, and easy scalability.
graph
key value
document
all of the mentioned
MongoDB stores all documents in _____________
Tables
Collections
Rows
all of the mentioned
NodeJs is a _________________.
Library
Run time Environment
Framework
ExpressJs is a ________________.
Library
Runtime Environment
Framework
None of these
Action attribute in HTMl forms specifies that
Which HTTP method is used
Which action is going on
Where to submit the form
The auto completion of form
Which tag is used for php
<?php
?>
<style>
<php ?>
<php
/php>
Choose the correct option.
Default method in HTML is GET or POST
Use of method attribute determines by which method the datas in the form will be submitted.
Method can be POST or GET.
Default method in HTML is GET.
PHP is a____________side scripting language
server
browser
client
Variables used in php
$a=5;
var a=5;
int a=5;
_______ is a concatenation operator in php
+ (plus)
+=
. (dot)
PHP is a case sensitive
TRUE
FALSE
find the output
<?php
$x = 1;
$x += 1;
echo $x;
?>
2
1
0
Find the output
<?php
$x = 5;
{ $x = 10;
echo $x;
}
echo $x;
?>
105
510
1010
PHP is executed on
The Server
The Browser
The Website
The Machine
What is a String?
Text
Number
True
Loop
What is a Boolean
It's Just Text
It's a Number
It's Just True
It's True or False
What if we want a block of code to execute several times?
Use a Variable
Use a Function
Use a Loop
Use a Leap
How do I print out the values of the variable "name" ?
$name;
include $name;
echo $name;
echo $name
XAMPP is available for which major operating systems?
Windows, macOS, and Linux
Windows only
macOS only
Linux only
What is the default web directory for placing your website files in XAMPP on Windows?
/var/www
/opt/lampp/htdocs
C:\xampp\htdocs
/Applications/XAMPP/htdocs
Which component of XAMPP is used for managing and querying databases?
Apache
MySQL
PHP
Tomcat
Which port number is commonly used by the Apache web server component of XAMPP?
80
443
8080
3306
Which XAMPP component allows you to manage your MySQL databases through a web interface?
phpMyAdmin
phpPgAdmin
MyAdmin
XAMPPDB
