Web Technologies: Backend & CSS

Covers web development topics including .NET/ADO.NET data access, database concepts, Hibernate ORM for Java, and CSS styling for frontend

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How do you make each word in a text start with a capital letter?

  1. text-transform:capital
  2. text-transform:capitalize
  3. text-transform:uppercase
  4. You can't do that with CSS
Question 2 Multiple Choice (Single Answer)

How to apply a style to several specific element types?

  1. Use the type selector with , delimiter
  2. Use the ID selector with ; delimiter
  3. Use the type selector with . delimiter
  4. Use the ID selector with > delimiter
Question 3 Multiple Choice (Single Answer)

What does the ID selector do?

  1. Apply the style to a specific element
  2. Apply the style to all the elements
  3. Apply the style to elements of the same type
  4. Apply the style to a group of elements
Question 4 Multiple Choice (Single Answer)

In what form are style rules presented?

  1. selector { property: value }
  2. selector { property= value }
  3. selector ( property: value )
  4. selector ( property= value )
Question 5 Multiple Choice (Single Answer)

Which is the correct CSS syntax?

  1. body {color: black}
  2. {body;color:black}
  3. body:color=black
  4. {body:color=black(body}
Question 6 Multiple Choice (Single Answer)

In CSS, you have the following options for changing text color?

  1. Common name and Hexcolor only
  2. Common name, RBG value, Hexcolor
  3. RBG value, Hexcolor
  4. Hexcolor only
Question 7 Multiple Choice (Single Answer)

How do you display hyperlinks without an underline?

  1. a {decoration:no underline}
  2. a {underline:none}
  3. a {text-decoration:none}
  4. a {text-decoration:no underline}
Question 8 Multiple Choice (Single Answer)

How do you make the text bold?

  1. font:bold
  2. style:bold
  3. font-weight:bold
  4. style:strong
Question 9 Multiple Choice (Single Answer)

to which component does hibernate maps the java classes?

  1. persistent objects
  2. database tables
  3. only a
  4. both a & b
Question 10 True/False

hibernate is a object relational mapping framework.

  1. True
  2. False
Question 11 Multiple Choice (Single Answer)

hibernate uses which class for mapping?

  1. utility classes
  2. Pojo
  3. both 1 & 2
  4. none
Question 12 Multiple Choice (Single Answer)

what are the jar files mainly used for O/R mapping?

  1. junit.jar & connector.jar
  2. ant.jar & hsqldb.jar
  3. hibernate2.jar & jboss-common.jar
  4. jdbc.jar & odbc.jar
Question 13 Multiple Choice (Single Answer)

pick the odd one out.

  1. Caching objects
  2. Pure relational
  3. Outer join fetching
  4. Lazy collection initialization
Question 14 Multiple Choice (Single Answer)

hibernate is a object relational mapping framework.

  1. gives an error
  2. generates ID automatically
  3. throws exception
  4. none of the above
Question 15 True/False

A Hibernate Type is used to map a Java property type to a JDBC type or types.

  1. True
  2. False
Question 16 Multiple Choice (Single Answer)

what is the result of this program?

  1. throws exception
  2. automatically generates the ID
  3. compilation error
  4. none of the above
Question 17 Multiple Choice (Single Answer)

which one is responsible for flushing all DB2 buffers on the disk?

  1. QUIESCE
  2. FREEPAGE
  3. PCTFREE
  4. TABLESPACE
Question 18 Multiple Choice (Single Answer)

what is index cardinality?

  1. no of duplicate values
  2. no of distinct values
  3. no of null values
  4. both 1 & 2
Question 19 Multiple Choice (Multiple Answers)

What are the components available in .NET Framework data provider

  1. Connection
  2. Command
  3. DataSet
  4. All the above
Question 20 Multiple Choice (Multiple Answers)

What are the fundamental objects in ADO.NET?

  1. Data Reader
  2. Data Table
  3. Dataset
  4. Data Row