Proyecto Web Tema 1-2
![]() |
![]() |
![]() |
Título del Test:![]() Proyecto Web Tema 1-2 Descripción: Proyecto Web Tema 1-2 |




Comentarios |
---|
NO HAY REGISTROS |
Cuáles son características del protocolo http?. No tiene memoria. Usa UDP. No extensible. Define varios estados. Es sencillo. Un navegador web es una aplicación que visualiza documentos escritos con el formato http. Verdadero. Falso. En qué directorio va a instalar Laragon?. En la carpeta raíz para las aplicaciones. En el directorio raíz de la nube. En el directorio raíz del pc local. En la carpeta raíz del usuario. La aplicación que utilizará para instalar Laravel se llama. Coaster. Laragon. PHP. Composer. Laravel es CMS programado en php. Verdadero. Falso. Qué plugings son los que recomienda instalar para trabajar con Lavarel. Material Themes UI. File Watchers. Blade Support. Laravel Plugin. .env files support. GitHub. El comando introducido fue: composer create-project coastercms/coastercms pweb22. Verdadero. Falso. En Laravel, dónde se establece el nombre de la aplicación. En el archivo... .env. config/app.php. Cuál es que carpeta se almacena hojas de estilo de la aplicación web?. app/public/css. database/css. resources/.../css. vendor/css. storage. config/css. public/.../css. routes/..../css. Qué son las rutas web en Laravel?. La definición de los directorios de recursos usados en la aplicación web. La definición de los directorios usados en la aplicación web. La definición de los directorios válidos de la aplicación web. Las URL de entrada a la aplicación web. Cómo se definen los parámetros opcionales en las rutas en Laravel. {parametro}. {parmatro?}. {parametro?"valor por defecto"}. {parametro="valor por defecto"}. En Laravel, qué devuelve la función route('nombre'). El directorio donde se define la variable nombre. La ruta web de acceso a la entrada definida por nombre. La ruta web de acceso a la variable nombre. Las rutas web de acceso a las páginas que definen la varibale nombre. Cómo se le pasan parámetros a una vista?. Utilizando el método with con un array de 'nombre'=> valor. Utilizando el método with con los parámetros: nombre de la variable y su valor. Utilizando un segundo parámetro en la llamada a view. En qué directorio se suponen que están almacenadas las vistas?. resources/views. views/sources. /public/resources/views. /public/html/views. Cómo le indicamos en Blade que queremos reutilizar una plantilla llamada formato1?. @section('formato1'). {{ $formato1 }}. @yield('formato1). @extends('formato1'). Cuáles de los siguientes son estructuras de control en Blade?. foreach. issset. @until. @forelse. Cómo se obtiene el listado de rutas registradas en una aplicación Laravel?. ejecutando "php route list". Listando el directorio app/routes. ejecutando "php artisan route:list". Inspeccionando el archivo public/index.php. Listando el directorio routes. Qué métodos no pertenecen a un controlador creado con la opción --resources?. play. index. new. show. destroy. Qué métodos no pertenecen a un controlador creado con la opción --api. show. edit. destroy. create. store. index. Cómo le indicamos en Blade que queremos incluir el fichero formato1 a una plantilla. {{ $formato1 }}. @yield('formato1). @extends('formato1'). @section('formato1'). @include('formato1'). En que archivo se especifican los ficheros y clases que deben ser cargadas antes de ejecutar un controlador?. app/lib.json. package.json. artisan.json. app/helper.json. composer.json. What does HTML stand for?. Home Tool Markup Language. Hyper Text Markup Language. Hyperlinks and Text Markup Language. Who is making the Web standards?. The World Wide Web Consortium. Mozilla. Microsoft. Google. Choose the correct HTML element for the largest heading: <h6>. <head>. <heading>. <h1>. What is the correct HTML element for inserting a line break?. <lb>. <break>. <br>. What is the correct HTML for adding a background color?. <background>yellow</background>. <body style="background-color:yellow;">. <body bg="yellow">. Choose the correct HTML element to define important text. <b>. <strong>. <important>. <i>. Choose the correct HTML element to define emphasized text. <i>. <em>. <italic>. What is the correct HTML for creating a hyperlink?. <a href="http://www.w3schools.com">W3Schools</a>. <a url="http://www.w3schools.com">W3Schools.com</a>. <a name="http://www.w3schools.com">W3Schools.com</a>. <a>http://www.w3schools.com</a>. Which character is used to indicate an end tag?. /. ^. <. *. How can you open a link in a new tab/browser window?. <a href="url" target="_blank">. <a href="url" new>. <a href="url" target="new">. Which of these elements are all <table> elements?. <thead><body><tr>. <table><head><tfoot>. <table><tr><tt>. <table><tr><td>. Inline elements are normally displayed without starting a new line. False. True. How can you make a numbered list?. <ul>. <list>. <ol>. <dl>. How can you make a bulleted list?. <ol>. <list>. <ul>. <dl>. What is the correct HTML for making a checkbox?. <checkbox>. <check>. <input type="checkbox">. <input type="check">. What is the correct HTML for making a text input field?. <input type="text">. <textfield>. <textinput type="text">. <input type="textfield">. What is the correct HTML for making a drop-down list?. <input type="dropdown">. <input type="list">. <list>. <select>. What is the correct HTML for making a text area?. <input type="textbox">. <textarea>. <input type="textarea">. What is the correct HTML for inserting an image?. <image src="image.gif" alt="MyImage">. <img href="image.gif" alt="MyImage">. <img src="image.gif" alt="MyImage">. <img alt="MyImage">image.gif</img>. What is the correct HTML for inserting a background image?. <background img="background.gif">. <body style="background-image:url(background.gif)">. <body bg="background.gif">. An <iframe> is used to display a web page within a web page. False. True. There is no such thing as an <iframe>. HTML comments start with <!-- and end with -->. False. True. Block elements are normally displayed without starting a new line. False. True. Which HTML element defines the title of a document?. <head>. <title>. <meta>. Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?. longdesc. title. src. alt. Which doctype is correct for HTML5?. <!DOCTYPE html>. <!DOCTYPE HTML5>. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">. Which HTML element is used to specify a footer for a document or section?. <section>. <bottom>. <footer>. In HTML, you can embed SVG elements directly into an HTML page. False. True. What is the correct HTML element for playing video files?. <video>. <movie>. <media>. What is the correct HTML element for playing audio files?. <audio>. <mp3>. <sound>. The HTML global attribute, "contenteditable" is used to: Specify whether the content of an element should be editable or not. Specifies a context menu for an element. The menu appears when a user right-clicks on the element. Return the position of the first found occurrence of content inside a string. Update content from the server. In HTML, onblur and onfocus are: HTML elements. Event attributes. Style attributes. Graphics defined by SVG is in which format?. HTML. XML. CSS. The HTML <canvas> element is used to: create draggable elements. display database records. manipulate data in MySQL. draw graphics. In HTML, which attribute is used to specify that an input field must be filled out?. required. validate. formvalidate. placeholder. Which input type defines a slider control?. range. search. slider. controls. Which HTML element is used to display a scalar measurement within a range?. <measure>. <range>. <meter>. <gauge>. Which HTML element defines navigation links?. <navigate>. <nav>. <navigation>. In HTML, what does the <aside> element define?. The ASCII character-set; to send information between computers on the Internet. Content aside from the page content. A navigation list to be shown at the left side of the page. Which HTML element is used to specify a header for a document or section?. <header>. <top>. <head>. <section>. What does CSS stand for?. Cascading Style Sheets. Colorful Style Sheets. Computer Style Sheets. Creative Style Sheets. What is the correct HTML for referring to an external style sheet?. <style src="mystyle.css">. <link rel="stylesheet" type="text/css" href="mystyle.css">. <stylesheet>mystyle.css</stylesheet>. Where in an HTML document is the correct place to refer to an external style sheet?. At the end of the document. In the <head> section. In the <body> section. Which HTML tag is used to define an internal style sheet?. <script>. <style>. <css>. Which HTML attribute is used to define inline styles?. font. style. class. styles. Which is the correct CSS syntax?. {body;color:black;}. {body:color=black;}. body:color=black;. body {color: black;}. How do you insert a comment in a CSS file?. /* this is a comment */. // this is a comment. // this is a comment //. ' this is a comment. Which property is used to change the background color?. bgcolor. background-color. color. How do you add a background color for all <h1> elements?. h1.all {background-color:#FFFFFF;}. h1 {background-color:#FFFFFF;}. all.h1 {background-color:#FFFFFF;}. Which CSS property is used to change the text color of an element?. color. fgcolor. text-color. Which CSS property controls the text size?. font-size. text-style. text-size. font-style. What is the correct CSS syntax for making all the <p> elements bold?. p {font-weight:bold;}. <p style="text-size:bold;">. p {text-size:bold;}. <p style="font-size:bold;">. How do you display hyperlinks without an underline?. a {underline:none;}. a {decoration:no-underline;}. a {text-decoration:none;}. a {text-decoration:no-underline;}. How do you make each word in a text start with a capital letter?. text-style:capitalize. You can't do that with CSS. text-transform:capitalize. transform:capitalize. Which property is used to change the font of an element?. font-style. font-family. font-weight. How do you make the text bold?. font:bold;. style:bold;. font-weight:bold;. How do you display a border like this: The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel?. border-width:5px 20px 10px 1px;. border-width:10px 5px 20px 1px;. border-width:10px 1px 5px 20px;. border-width:10px 20px 5px 1px;. Which property is used to change the left margin of an element?. padding-left. margin-left. indent. When using the padding property; are you allowed to use negative values?. Yes. No. How do you make a list that lists its items with squares?. list-type: square;. list-style-type: square;. list: square;. How do you select an element with id 'demo'?. *demo. .demo. demo. #demo. How do you select elements with class name 'test'?. .test. *test. test. #test. How do you select all p elements inside a div element?. div.p. div p. div + p. How do you group selectors?. Separate each selector with a comma. Separate each selector with a space. Separate each selector with a plus sign. What is the default value of the position property?. fixed. absolute. relative. static. What is MySQL?. All the options are correct. A relational database management system. Cross-platform, open-source and free. Developed, distributed, and supported by Oracle Corporation. Which MySQL statement is used to select data from a database?. EXTRACT. GET. OPEN. SELECT. Which MySQL statement is used to update data in a database?. INSERT. MODIFY. UPDATE. SAVE. Which MySQL statement is used to delete data from a database?. REMOVE. COLLAPSE. DELETE. Which MYSQL statement is used to insert new data in a database?. INSERT INTO. INSERT NEW. ADD NEW. ADD RECORD. With MySQL, how do you select a column named "FirstName" from a table named "Persons"?. SELECT Persons.FirstName. SELECT FirstName FROM Persons. EXTRACT FirstName FROM Persons. With MySQL, how do you select all the columns from a table named "Persons"?. SELECT * FROM Persons. SELECT *.Persons. SELECT [all] FROM Persons. SELECT Persons. With MySQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?. SELECT * FROM Persons WHERE FirstName='Peter'. SELECT [all] FROM Persons WHERE FirstName='Peter'. SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter'. SELECT * FROM Persons WHERE FirstName<>'Peter'. With MySQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with an "a"?. SELECT * FROM Persons WHERE FirstName='a'. SELECT * FROM Persons WHERE FirstName LIKE '%a'. SELECT * FROM Persons WHERE FirstName='%a%'. SELECT * FROM Persons WHERE FirstName LIKE 'a%'. The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions listed are true. True. False. With MySQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Peter" and the "LastName" is "Jackson"?. SELECT * FROM Persons WHERE FirstName='Peter' AND LastName='Jackson'. SELECT * FROM Persons WHERE FirstName<>'Peter' AND LastName<>'Jackson'. SELECT FirstName='Peter', LastName='Jackson' FROM Persons. With MySQL, how do you select all the records from a table named "Persons" where the "LastName" is alphabetically between (and including) "Hansen" and "Pettersen"?. SELECT * FROM Persons WHERE LastName BETWEEN 'Hansen' AND 'Pettersen'. SELECT * FROM Persons WHERE LastName>'Hansen' AND LastName<'Pettersen'. SELECT LastName>'Hansen' AND LastName<'Pettersen' FROM Persons. Which MySQL statement is used to return only different values?. SELECT DISTINCT. SELECT DIFFERENT. SELECT UNIQUE. Which MySQL keyword is used to sort the result-set?. SORT. SORT BY. ORDER. ORDER BY. With MySQL, how can you return all the records from a table named "Persons" sorted descending by "FirstName"?. SELECT * FROM Persons ORDER BY FirstName DESC. SELECT * FROM Persons ORDER FirstName DESC. SELECT * FROM Persons SORT 'FirstName' DESC. SELECT * FROM Persons SORT BY 'FirstName' DESC. With MySQL, how can you insert a new record into the "Persons" table?. INSERT INTO Persons VALUES ('Jimmy', 'Jackson'). INSERT VALUES ('Jimmy', 'Jackson') INTO Persons. INSERT ('Jimmy', 'Jackson') INTO Persons. With MySQL, how can you insert "Olsen" as the "LastName" in the "Persons" table?. INSERT INTO Persons (LastName) VALUES ('Olsen'). INSERT ('Olsen') INTO Persons (LastName). INSERT INTO Persons ('Olsen') INTO LastName. How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons table?. UPDATE Persons SET LastName='Hansen' INTO LastName='Nilsen'. MODIFY Persons SET LastName='Nilsen' WHERE LastName='Hansen'. MODIFY Persons SET LastName='Hansen' INTO LastName='Nilsen. UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen'. With MySQL, how can you delete the records where the "FirstName" is "Peter" in the Persons Table?. DELETE FROM Persons WHERE FirstName = 'Peter'. DELETE FirstName='Peter' FROM Persons. DELETE ROW FirstName='Peter' FROM Persons. With MySQL, how can you return the number of records in the "Persons" table?. SELECT COUNT(*) FROM Persons. SELECT COLUMNS(*) FROM Persons. SELECT LEN(*) FROM Persons. SELECT NO(*) FROM Persons. What are the supported types of joins in MySQL?. INNER JOIN, LEFT JOIN, RIGHT JOIN, CROSS JOIN. INNER JOIN, OUTER JOIN, LEFT JOIN, RIGHT JOIN. Which operator is used to select values within a given range?. BETWEEN. UNION. IN. RANGE. The NOT NULL constraint enforces a column to not accept NULL values. False. True. Which operator is used to search for a specified pattern in a column?. GET. FROM. LIKE. Which MySQL statement is used to create a database table called 'Customers'?. CREATE DATABASE TAB Customers. CREATE DB Customers. CREATE TABLE Customers. CREATE DATABASE TABLE Customers. |