0% found this document useful (0 votes)
11 views

5 Module For LGYY

The syntax for adding a new column to an existing table in SQL is to use the ALTER TABLE statement along with the ADD COLUMN clause specifying the column name and data type. It is possible to build environment-agnostic systems with Docker by making use of Docker images and containers which provide an abstraction layer and portability across environments. The main difference between numeric and associative arrays in PHP is that numeric arrays use integers as indexes while associative arrays use strings, allowing for more flexible indexing of array elements.

Uploaded by

Hener Pineda
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

5 Module For LGYY

The syntax for adding a new column to an existing table in SQL is to use the ALTER TABLE statement along with the ADD COLUMN clause specifying the column name and data type. It is possible to build environment-agnostic systems with Docker by making use of Docker images and containers which provide an abstraction layer and portability across environments. The main difference between numeric and associative arrays in PHP is that numeric arrays use integers as indexes while associative arrays use strings, allowing for more flexible indexing of array elements.

Uploaded by

Hener Pineda
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Q1: The syntax for adding a new column to an existing table is ALTER TABLE `table_name`

ADD COLUMN `column_name` `data_type`;?

a None

b None

c True

d False

e None

f None

Q2: Is it possible to build environment-agnostic systems with Docker??

The correct Answer is: None

The correct Answer is: None

c False

d True

The correct Answer is: None

The correct Answer is: None

Q3: What is the difference between Numeric and Associative?

a There are no Associative arrays

b The Numeric arrays can store numbers, strings and any object but their index will
be represented by numbers while the Associative arrays have their index stored as string.

c The Numeric and Associative arrays differ only in the maximum allowed objects in
them.

The correct Answer is: None

e The Numeric arrays can store numbers, strings and any object but their index will
be represented by numbers while the Associative arrays each element in the main array can
also be an array.
The correct Answer is: None

Q4: Which argument do you need to specify in order to run a specific Ansible module??

a --ansible-module

b None

c --modules

d None

e -m

f -ml

Q5: How can we add comments in PHP??

a None

b all of the above

c None

d /* commented code here */

e # commented code to end of line

f // commented code to end of line

Q6: What is a daemon??

a It is a program that keeps running on the background after it is called, answering


to requests done by users and other programs.

b None

c It is an antivirus for Linux.

d It is a generic name for e-mail servers on Linux. The most famous one is mailer-
daemon

e None

f It is the generic name for any Linux server.


Q7: What is the default execution time set in set_time_limit()??

a None

b 40 secs

c None

d 20 secs

e 30 secs

f 35 secs

Q8: Crontab gives administrators the ability to do what??

a None

b None

c Identify users on the system

d View the status of Linux kernel modules

e Call up a list of open files

f Set up scheduled tasks on a system

Q9: What do you mean by the custom field in WordPress??

a None

b None

c Custom fields are also known as get meta. Get meta is a feature in WordPress
which allows get authors to add additional information at the time writing a post.

d Custom fields are also known as post meta. Post meta is a feature in WordPress
which allows post authors to add additional information at the time writing a post.

e None

f Custom fields are also known as request meta. request meta is a feature in
WordPress which allows post authors to add additional information at the time writing a
post.
Q10: How to change the priority of a swap file/partition to 10?

The correct Answer is: None

b We can't change the priority of swap partions

The correct Answer is: None

d swapon +10 /path/to/swapfile

e swapon -p 10 /path/to/swapfile

f swapon -P 10 /path/to/swapfile

Q11: The wildcard in a WHERE clause is useful when??

a An exact match is necessary in a SELECT statement.

b None

c An exact match is not possible in a CREATE statement.

d An exact match is necessary in a CREATE statement.

e An exact match is not possible in a SELECT statement.

f None

Q12: What type of function is needed when passing values through a form or an URL??

a None

b urlencode()

c Both of these

d None

e htmlspecialchars()

f None of the mentioned

Q13: Which of the following are Kubernetes installation tools? Select all answers that
apply.?
a kops

b None of the mentioned

c kubespray (formerly known as kargo)

d kubeadm

The correct Answer is: None

The correct Answer is: None

Q14: MySQL comes with a standard client libraries for:?

a None

b Perl, Java And C

c None

d C Only

e Java Only

f PHP And C

Q15: Which of the mentioned are valid PHP loops?

a foreach

b for

c each

d beforeeach

e while

f do ... while

You might also like