Final exam questions from projects

Final exam questions from projects

by Tony deLaubenfels -
Number of replies: 8

Include answers.

In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Akash Surti -

What is an advantage of JSON over XML?

  • JSON is text-based and structured for humans, whereas XML is a set of rules in machine-readable format.

  • JSON has a smaller file size than XML.


In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Nobuki Harata -

Q: What kind of database is Mongodb?

A: Document oriented database.

In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Tom Dang -

Q. How can you extract month name from a date column like "9/4/2016" using SQL query in Access?

A. In the Select statement, write MONTHNAME(MONTH(date_column)). MONTH(...) is to extract the month in number, and MONTHNAME(...) is to transform the number into month name.

In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Tyler Wians -

Question: What is a benefit of using a single-page application?

Answer: Because it dynamically alters one web application, there is no need to constantly load between many other pages. This also helps create a fluid and responsive application.

In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Nigel Ticknor -

What is 1 advantage and 1 disadvantage of using MariaDB over MySQL?

Advantages:

-Faster/more efficient

-More features

Disadvantages:

-Releases lag behind MySQL

-No 'official' support

In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Conor Burrows -

How would you close a MySQL connection in PHP? When is this most needed?

$connection->close();

or

msql_close($connection);


It is useful when you have a long script that only requires data at the beginning. After you have all the data you need it is best to close the connection for security and to take a load off the server.

In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Michael Paquette -

How do you pass a variable into a MySQL query from C#?

MySQL Command parameters add with value ( name, value)

v2m9mEz3_aKVIYqAIC8hS83lZKiZ2jWeX_hF2FQmzInYaSpUE5XQB7QGKucNLW0uB9DYWv6hz3KgnH4O6bNZz8Gkdstq-vjZnLEqcI-XSzfkDbY1JuY1PJC8PGygcFMPNvJYy0ApTC0




In reply to Tony deLaubenfels

Re: Final exam questions from projects

by Jeremy Novak -

The client wants to display an Access Database column with the header Time. Time is a reserve word. Can Time be used as a column header? If so write a short SQL statement that uses Time as a column header and a sample column that could be displayed.

Answer: Yes

SELECT StartTime AS ‘Time’

FROM TableName;