Test
php and css
Este test tiene tiempo límite, así que se abre en el reproductor de siempre.
Preguntas del test (9)
1Considering the CSS box model, what is the final width of an element of this class:
.item {
width: 100px;
margin: 10px;
padding-left: 10px;
padding-right: 0px;
}- A130
- B120
- C140
- D100
2In PHP, what is the output of the following code
$a = 2 + 3 * 5 + 10;
print $a;- A23510
- B20
- C27
- D35
3$a = 10;
$b = 1.238;
$c = $a * $b;- Aarray
- Binteger
- Cstring
- D. boolean
- Efloat
4The following PHP code has an error. What line is this error on?
0: $a = 10 + 1;
1: $b = "10"
2: if ($a <> $b)
3: {
4: print "Not equal";
5: }
6: else
7: {
8: $b++;
9: }- Aa. 4
- Bb. 1
- Cc. 0
- Dd. 8
5In CSS, which property would be used to allow an image to be positioned on the right?
- Aa. overflow: hidden
- Bb. clear: right
- Calign: right
- Dfloat: right
6In CSS which property is used to control the background
color?- Acolor
- Bbackground-colour
- Ccolor-background
- Dbgcolor
7In CSS the selector #p matches
- Aall <p> elements
- Ball <p> elements whose id is p
- C. all elements whose class is p
- Dall elements whose id is p
- Eall <p> elements whose class is p
8Which of the following is not a valid variable in PHP?
- A$name
- B$1name
- C$_name1
- D$name1
9Where should the reference to a style sheet be
placed in an HTML document ?- AIn the <css> section.
- B. In the <style> section.
- CIn the <body> section.
- DIn the <head> section
Información
- Descripción
- Test sobre php and css, creado por Ayobami Ojo el 21/10/2017.
- Autor
- Ayobami Ojo
- Idioma
- English
- Visitas
- 1
- Valoración
- Aún sin valoraciones Valora este test