الخميس، 8 أغسطس 2013

MCQ of CSS With Answer set-2

MCQ of CSS With Answer
English: css - absolute position (Photo credit: Wikipedia)

1. Which of the following are the background properties in CSS?

i) background-color ii) background-image iii) background-repeat

iv) background-position v) background

A) i, ii, iii and iv only

B) i, ii, iii and v only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v


2. State whether the statement is/are True.

i) font-family property is used to change the face of a font.

ii) font-variant property is used to create small-caps effects.

A) i-True, ii-False

B) i-False, ii-True

C) i-True, ii-True

D) i-False, ii-False


3. The CSS links properties are

A) :link, :visited, :hover, :active

B) :link, :visit, :hover, :active

C) :link, :visited, :over, :active

D) :link, :visited, :hover, :active, :inactive


4. Internet Explorer uses ....................... property to create transparent images.

A) -moz-opacity:x

B) filter: alpha(opacity=x)

C) Both of the above

D) None of the above


5. The different ways to associate styles with a HTML document is/are

A) Embedded CSS with <style> element

B) Inline CSS with style attribute.

C) External CSS with <link> element.

D) All of the above


6. Which of the following is correct CSS syntex for using font property?

A) <p style="font: italic, bold, 15px;"> ................ </p>

B) <p style="font-style: italic font-weight: bold font-size: 15px;"> ................... </p>

C) <p style="font: italic bold 15px;"> ....................... </p>

D) None of the above


7. State True of False for the CSS table properties.

i) The border-spacing specifies the width that should appear between table rows.

ii) The empty-cells specifies whether the border should be shown if a cell is empty.

A) i-True, ii-False

B) i-False, ii-True

C) i-True, ii-True

D) i-False, ii-False


8. In CSS tables, the possible values for the caption-side property can have the following values.

A) top, bottom, left or right

B) top, bottom, center, left or right

C) top or bottom

D) left or right


9. The ................... property indicates whether a cell without any content should have a border displayed.

A) blank-cells

B) empty-cells

C) nocontent-cells

D) noborder-cells


10. The ..................... specifies whether a border should be solid, dashed line, doted line, double line, groove etc.

A) border-layout

B) border-decoration

C) border-style

D) border-weight

Answers:

1.  D) All i, ii, iii, iv and v
2.  C) i-True, ii-True
3.  A) :link, :visited, :hover, :active
4.  B) filter: alpha(opacity=x)
5.  D) All of  the above
6.  C) <p style="font: italic bold 15px;"> ....................... </p>
7.  B) i-False, ii-True
8.  A) top, bottom, left or right
9   B) empty-cells
10 C) border-style


You Might also view the following Related Posts

الأربعاء، 7 أغسطس 2013

Solved MCQ of CSS set-1

A perfect desktop image for CSS developers
Cascading Style Sheet (CSS) (Photo credit: Wikipedia)

1. Which of the following are the advantages of CSS?

i) CSS saves time ii) Page load faster

iii) Easy maintenance iv) Multiple compatibility


A) i, ii and iii only

B) ii, iii and iv only

C) i, ii and iv only

D) All i, ii, iii and iv


2. A CSS style rule is made up of three parts which are ..

i) Selector ii) Property

iii) Value iv) Attribute

A) i, ii and iii only

B) ii, iii and iv only

C) i, ii and iv only

D) All i, ii, iii and iv


3. Which is not the selector type of CSS?

A) Type selector

B) Universal selector

C) Local selector

D) Descendant selector


4. The correct example of class selector is .

A) h2.type1 {color: #000000;}

B) h2 type1 {color: #000000;}

C) h2 #type1 {color: #000000;}

D) #h2 type1 {color: #000000;}


5. CSS comments are inserted inside .

A) //...................//

B) <!..................>

C) /*..................*/

D) All of the above


6. We can handle old browsers by placing CSS codes inside.

A) //...................//

B) <!..................>

C) /*..................*/

D) None of the above


7. State whether True or False.

i) Any inline style sheet takes highest priority.

ii) Any rule defined in <style> ...........................</style> tag will override rules defined in any external style sheet file.

A) i-True, ii-False

B) i-False, ii-True

C) i-True, ii-True

D) i-False, ii-False


8. ...................... is used to import an external style sheet in a manner similar to the <link> element.

A) @insert

B) @import

C) #import

D) #insert


9. Which of the following is / are the measurement units in CSS?

i) % ii) cm iii) em iv) pc v) px

A) i, ii, iii and iv only

B) i, ii, iii and v only

C) i, ii, iv and v only

D) All i, ii, iii, iv and v


10. The possible formats of CSS colors are.

i) Hex code - #RRGGBB

ii) Short Hex Code - #RGB

iii) RGB% - rgb(rrr%, ggg%, bbb%)

iv) Keyword - teal, blue, black

A) i, ii and iv only

B) ii, iii and iv only

C) i, iii and iv only

D) All i, ii, iii and iv

Answers:

1.  D) All i, ii, iii and iv
2.  A) i, ii and iii only
3.  C) Local selector
4.  A) h2.type1 {color: #000000;}
5.  C) /*..................*/
6.  B) <!..................>
7.  C) i-True, ii-True
8.  B) @import
9   D) All i, ii, iii, iv and v
10 D) All i, ii, iii and iv


You Might also view the following Related Posts

Solved MCQ of Microsoft Word set-1


1. In which shortcut key use to center the selecting text.

A) Ctrl+F

B) Ctrl+E

C) Ctrl+M

D) None of the above


2. You can Hyperlink the file

A) Pressing the Ctrl+Enter

B) Pressing Ctrl+Shift+Enter

C) Break command from view menu

D) Both A and C


3. Which of the following is not a part of standard office suite?

A) Word Processor

B) Database

C) Image Editor

D) File Manager


4. Which bar is usually located below that title bar that provides categorized options?

A) Menu bar

B) Toolbars

C) Status Bar

D) All of the above




5. Which of the following are valid Minimum and Maximum zoom size in MS Word?

A) 20, 200

B) 10, 300

C) 10, 500

D) 15, 400


6. Which of the following are the Minimum and Maximum font size of MS Word?

A) 1, 72

B) 2, 128

C) 4, 1800

D) 1, 1638


7. We can insert Maximum number of Columns are

A) 35

B) 45

C) 25

D) 15


8. To move the cursor page to page of documents.

A) Ctrl+ Page Down

B) Ctrl+Page UP

C) Both of the above

D) None of the above


9. The four types of mail merge main documents are

A) Form letters, directories, catalogs and envelopes

B) Form letters, Envelops and Mailing labels, directories and lists

C) Basic letters, envelopes, labels and list

D) Form letters, envelopes, mailing labels and catalog


10. You can break the active column using

A) Break From Insert Command

B) Ctrl+Shift+Enter

C) Ctrl+Enter

D) Both A and B

Answers:

1.  B) Ctrl+E
2.  D) Both A and C
3.  D) File Manager
4.  C) Status Bar
5.  C) 10, 500
6.  D) 1, 1638
7.  B) 45
8.  C) Both of the above
9   D) Form letters, envelopes, mailing labels and catalog

الأربعاء، 31 يوليو 2013

Solved MCQ of Java Beans set-1


1. Java Servlets are efficient and powerful solution for creating ....................... for the web.

A) dynamic content

B) static content

C) hardware

D) both and b


2. Filters were officially introduced in the servlet ........................ specification.

A) 2.1

B) 2.3

C) 2.2

D) 2.4


3. ..................... is the first phase of the servlet life cycle.

A) Initialization

B) Service

C) Destruction

D) Both a and b


4. The service phase of the servlet life cycle represents all interactions with requests until the servlet is ......................

A) created

B) running

C) initiated

D) destroyed


5. GET methods are great for sending .................... amounts of information that you do not mind having visible in a URL.

A) negligible

B) huge

C) small

D) both and b


6. Several vendors are adding ...................... to their existing database .................

A) JDOBC, middle-ware products

B) JDBC drivers, upper-ware products

C) middle-ware products, JDOBC drivers

D) JDBC drivers, middle-ware products


7. JSP is not governed by the ................... defined by the Java 2 specifications.

A) syntax and semantics

B) rules and regulation

C) Jakarta tomcat

D) compiler


8. The concept of distributed object computing can be termed as a marriage between ............. and ..................

A) C++, java

B) C, C++

C) Networking, Object-oriented programming

D) C, Object-oriented programming


9. The IDL compiler generates ..................... and .........................

A) runnable code, stubs

B) client, stubs

C) stubs, client

D) stubs, skeleton


10. Objects are units of encapsulation of ................ and ..............

A) Data, behavior

B) data types, data values

C) function definition and function declaration

D) class and method

Answers:

1.  A) dynamic content
2.  B) 2.3
3.  A) Initialization
4.  D) destroyed
5.  C) small
6.  D) JDBC drivers, middle-ware products
7.  A) syntax and semantics
8.  C) Networking, Object-oriented programming
9   D) stubs, skeleton

الثلاثاء، 30 يوليو 2013

Solved MCQ of Internet and HTML set-3


1. ................ are the physical meeting points of backbones.

A) Gateways

B) Pathways

C) Routers

D) Domains


2. WSFTP is an example of ........................... program.

A) FTP

B) Telnet

C) Web browser

D) Mail


3. Which of the following is best suitable for remote administration of a computer?

A) Telnet

B) WAIS

C) Browsers

D) HTML


4. The leading bit pattern of class B network is ..................

A) 0

B) 10

C) 110

D) 11


5. The ...................... attribute adds space within each cell.

A) CELL SPACING

B) CELL PADDING

C) WIDTH

D) ALIGN


6. Which of the following are two popular protocols that allow home computer users to connect their computers to the internet as per hosts?

i) SLIP ii) PPP

iii) HTTP iv) SMTP


A) iii and iv

B) ii and iii

C) i and ii

D) ii and iii


7. A computer that translates ........................ of another computer into an ............... and vice versa, upon request is known as DNS server.

A) Domain name and IP address

B) Host address and Domain name

C) Domain name and server address

D) Server name and IP address



8. Identify the uses of URI in HTML.

i) Link to another document or resource

ii) Link to external style sheet or script

iii) Create an image map

A) i and ii

B) i and iii

C) ii and iii

D) i , ii and iii


9. An ordered list is a ...................... list and an unordered list is a ................. list.

A) bulleted & numbered

B) bulleted & tabular

C) tabular & numbered

D) numbered & bulleted


10. Linking to another place in the same or another web page requires two A (Anchor) tags, the first with the .................. attribute and the second the ...................attribute.

A) NAME & LINK

B) LINK & HREF

C) HREF & NAME

D) TARGET & VALUE

Answers:

1.  A) Gateways
2.  A) FTP
3.  A) Telnet
4.  B) 10
5.  B) CELL PADDING
6.  C) i and ii
7.  A) Domain name and IP address
8.  D) i , ii and iii
9   D) numbered & bulleted
10 C) HREF & NAME

You Might also view the following Related Posts

الاثنين، 29 يوليو 2013

Solved MCQ of Computer Organization and Architecture set-2


1. The time that elapses between the initiation of an operation and completion of that operation is called.....

A) throughput

B) memory response time

C) memory access time

D) execution time


2. Interrupts which are initiated by an instruction are ............

A) internal

B) external

C) hardware

D) software


3. A semiconductor memory constructed using bipolar transistors or MOS transistor stores information in the form of a ......................

A) Flip-flop voltage levels

B) bit

C) byte

D) opcodes values


4. A simple way of performing I/O tasks is to use a method known as ......................

A) program-controlled I/O

B) program-controlled input

C) program-controlled output

D) I/O operation


5. Memory access in RISC architecture is limited to instructions ........

A) CALL and RET

B) PUSH and POP

C) STA and LDA

D) MOV and JMP


6. Striking key stores the corresponding character code in a 8-bit buffer register associated with the keyboard. This register is called as ........................

A) DATAINOUT

B) DATAOUT

C) DATAIN

D) Both A and B


7. When the character is transferred to the processor, status control flag SIN is automatically cleared to ............................

A) zero

B) one

C) two

D) yes


8. A microprogram written as string of 0's and 1's is a ...

A) symbolic micro-instruction

B) binary micro-instruction

C) symbolic micro-instruction

D) binary microprogram


9. An exception conditions in a computer system by an event external to the CPU is called .........

A) Interrupt

B) halt

C) wait

D) process


10. When the CPU detects an interrupt, it then saves its ...................

A) Previous state

B) Next state

C) Current state

D) Both A and B

 

Answers:

1.  C) memory access time
2.  B) external
3.  A) Flip-flop voltage levels
4.  A) program-controlled I/O
5.  C) STA and LDA
6.  C) DATAIN
7.  A) zero
8.  D) binary microprogram
9   A) Interrupt.
10 C) Current state.

You Might also view the following Related Posts

الأحد، 28 يوليو 2013

What are the different types of scheduling methods?


Process scheduling is one way for a processor to handle n processes, by scheduling the execution process. Each process is executed one by one according to prescribed schedule.

The aim of processor scheduling is to assign processes to be executed by the processor or processors over time, in a way that meets system objectives, such as response time, throughput and processor efficiency. In many systems, this scheduling activity is broken down into three separate functions: long, medium and short-term scheduling.

Types of Scheduling 


Long term Scheduling

The long term scheduler determines which programs are admitted to the system for processing. Thus, it controls the degree of multiprogramming. Once admitted a job or user program becomes a process and added to the queue for the short term scheduler. In some systems, a newly created process begins in a swapped-out condition, in which case it is added to the queue for the medium term scheduler.

Medium term scheduling

 Medium term scheduling is a part of the swapping function. The swapping in decision is based on the need to manage the degree of multiprogramming.
 It is the decision to add to the number of processes that are partially of fully in main memory.

Short term scheduling

The short term scheduler is also known as the dispatcher executes must frequently and makes the fine grained decision of which process to execute next.

It is the decision as to which available process will be executed by the processor.

You Might also view the following Related Posts