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

How To Set Up Facebook Like Box in a Blog?


In this tutorial you can get know about How to set up a Facebook Like Box or Fan Box on your blog. By adding this on your blog you share your Facebook Fan Page to get more likes and to share your post updates to your subscribers. You can pull your Facebook Page subscribers to your blog and can increase your blogs page views, as a result you can be more benefited from your blog.

If you want to set up Facebook like Button instead of like Box you can visit: How To Set Up Facebook Like Button in a Blogger?


By adding Facebook Like Box or Fan Box your blog readers can
  • See how many users already liked your Facebook Page.
  • Directly like your Page without going to the Page.
  • See some faces of the friends who already liked your blog if you activated that.
  • See recent post on your page if your activated that.


Steps to be followed To Set Up Facebook Like Box in a Blog


1. Get your Facebook Page URL at first.


Facebook page URL


  • Visit Facebook and go to your page
  • Copy the URL from the Address bar on the clipboard.

2. Configure the setting for your Like Box.


Facebook page configuration


  • At first go to Facebook Developers Page.
  • Paste the copied URL on the Facebook Page URL Text box.
  • Change width, height, and color schema as you like or as matches to your blog.
  • Check or Uncheck on the Show header check box to show or hide the header.
  • Check or Uncheck on the Show faces check box to show or hide the faces.
  • Check or Uncheck on the Show stream check box to show or hide the recent post on the page.
  • Check or Uncheck on the Show border check box to show or hide the border of the box.
  • At last click on Get code button. You can see the code like below from HTML 5 tab.
Facebook like box code


3. Add Code on the Blogger widget.


add gadget on blog


  • At first go to your blogger dashboard Layout option.
  • Click on Add Gadget option.
  • Choose HTML/JavaScript option.
  • Paste HTML code and click on save and view your blog.

الثلاثاء، 27 أغسطس 2013

MCQ of Management Information System With Answer set-2


1. Which of the following is a computer based system that stores and manipulates data that are viewed from a geographical point or reference?

A) Geographical Information System (GIS)

B) Database System (DS)

C) Geographic System (GS)

D) Software System (SS)



2. What are the three general components of IRM?
Information Management Framework
Information Management Framework (Photo credit: Wikipedia)


i) Data Processing

ii) Telecommunications


iii) Office automation

iv) Transaction Processing

A) Only i, ii, and iii

B) Only ii, iii and iv

C) Only i, iii and iv

D) All i, ii, iii, and iv



3. The different types of decisions while decision making in MIS are

i) Programmed decisions

ii) Programmable decisions

iii) Semi Programmed decisions

iv) Non Programmed decisions

A) Only i, ii, and iii

B) Only ii, iii and iv

C) Only i, iii and iv

D) All i, ii, iii, and iv



4. Which of the following statements are the disadvantages of Expert System?

i) They cannot handle inconsistent knowledge

ii) They cannot apply judgement and intuition recognized as important ingredients of problem solving.

A) Only i

B) Only ii

C) Both i and ii

D) None






5. Which of the following system ensures that proper stock of each item are maintained in an organization?

A) Human resource information system

B) An inventory control system

C) Manufacturing information system

D) Marketing information system




6. Which of the following is a program that models the pattern recognition capabilities of the human brain.

A) An expert system

B) Artificial Intelligence

C) Neutral network

D) Development engine



7. Which of the following are the main software components of DSS?

i) database management system (DBMS)

ii) model management system

iii) support tools

iv) internet

A) Only i, ii, and iii

B) Only ii, iii and iv

C) Only i, iii and iv

D) All i, ii, iii, and iv



8. Which of the following are the inputs of Marketing Information System?

i) Marketing research data

ii) Marketing intelligence data

iii) External environment data

iv) Strategic plan

A) Only i, ii, and iii

B) Only ii, iii and iv

C) Only i, iii and iv

D) All i, ii, iii, and iv



9. ........................... is the process of defining the current problem, determining why a new system is needed, identifying the objectives of the proposed system.

A) Feasibility analysis

B) System Analysis

C) System definition

D) System requirements




10. The accounting system is .................. whereas the demand forecasting system is .................

A) deterministic, probabilistic

B) probabilistic, deterministic

C) open, close

D) close, open



Answers:

1.   A) Geographical Information System (GIS)
2.   A) Only i, ii, and iii
3.   C) Only i, iii and iv
4.   C) Both i and  ii
5.   B) An inventory control system
6.   C) Neutral network
7.   A) Only i, ii, and iii
8.   D) All i, ii, iii, and iv
9.   C) System definition
10. A) deterministic, probabilistic


You Might also view the following Related Posts

الجمعة، 23 أغسطس 2013

How to Create Simple JavaScript Fade Effect Animation?


Now a days most of the websites or blogs are using image slideshow or animation on their pages using JavaScript codes. Such image animations make websites more attractive looking and smart. Here I have placed codes for creating a simple JavaScript fade effect animation. It may help you a lot.

Code for Creating Simple JavaScript Fade Effect Animation


Just copy and paste the code below where you want to place slideshow and change the location of the images.

<script type="text/javascript" 
src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?
load=effects"></script>

<script type="text/javascript">

function ShowEffect(element){
new Effect.Appear(element,
{duration:1, from:0, to:1.0});
}
function FadeEffect(element){
new Effect.Fade(element,
{duration:1, from:1.0, to:0});
}

var i = 0;
var path = new Array();

// LIST OF IMAGES
path[0] = "/image_1.gif";
path[1] = "/image_2.gif";
path[2] = "/image_3.gif";

function swapImage_0()
{
document.slide.src = path[i];
if(i < path.length - 1) i++; else i = 0;

setTimeout("FadeEffect('hideshow')",4000);

setTimeout("ShowEffect('hideshow')",5000);

setTimeout("swapImage_0()",5000);


}
window.onload=swapImage_0;

</script>

<div id="hideshow">

<img height="200" name="slide" src="/image_1.gif" width="400" />

</div>



You Might also view the following Related Posts

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

    MCQ of JavaScript with Answer set-2


    1. You can redirect the webpage in JavaScript by using ..................... method.

    A) window. reload

    B) window.location

    C) page.location

    D) url.newlocation



    2. ....................... is a built - in JavaScript function which can be used to execute another function after a given time interval.

    A) Timeout( )

    B) TimeInterval( )

    C) setTimeout ( )

    D) All of the above



    3. You can refresh the webpage in JavaScript by using ................ method.

    A) window.reload

    B) location. reload

    C) window. refresh

    D) page.refresh



    4. The different types of dialog boxes supported by JavaScript are
    Titel WikiBook JavaScript
    Titel WikiBook JavaScript (Photo credit: Wikipedia)

    i) Alert dialog box

    ii) Information dialog box

    iii) Conformation dialog box

    iv) Prompt dialog box

    A) i, ii and iii only

    B) i, iii and iv only

    C) i, ii and iv only

    D) All i, ii, iii, and iv



    5. A ..................... mostly used to take users choice on any option and displays a dialog box with two buttons Ok and Cancel.

    A) Alert dialog box

    B) Information dialog box

    C) Prompt dialog box

    D) Conformation dialog box



    6. Match the following with their description.

    a) Encapsulation     i) The capability to write on function or method that works variety of different ways.

    b) Aggregation       ii) The capability of a class to relay upon another class.

    c) Inheritance         iii) The capability to store one object inside of another object.

    d) Polymorphism    iv) The capability to store related information.

    A) i-d, ii-c, iii-b, iv-a

    B) i-b, ii-c, iii-a, iv-d

    C) i-c, ii-d, iii-a, iv-b

    D) i-a, ii-c, iii-d, iv-b



    7. ...................... are usually variables that are used internally in the objects methods, but can also be globally visible variables that are used through the page.

    A) Object properties

    B) Variable properties

    C) Method properties

    D) Internal properties



    8. State True or False.

    i) We can refresh a web page using JavaScript location.reload method.

    ii) The function page.print( ) will print the current web page.

    iii) With no arguments, the Date( ) constructor creates a Date object set to the current date and time.

    A) i- True, ii- False, iii-True

    B) i- False, ii- True, iii-True

    C) i-True, ii-True, iii-False

    D) i- False, ii- False, iii-True



    9. The JavaScript ........................ class represents regular expressions, and both string and .................... define methods that use regular expressions.

    A) RegExpObj

    B) RegExpClass

    C) RegExp

    D) StringExp



    10. The different variant of Date( ) constructor to create date object is/are.

    i) new Date(date)

    ii) new Date(milliseconds)

    iii) new Date(date string)

    iv) new Date (year, month, date [, hour, minute, second, millisecond])

    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



    Answers:

    1.   B) window.location
    2.   C) setTimeout ( )
    3.   B) location. reload
    4.   B) i, iii and iv only
    5.   D) Conformation dialog box
    6.   A) i-d, ii-c, iii-b, iv-a
    7.   B) Variable properties
    8.   A) i- True, ii- False, iii-True
    9.   C) RegExp
    10. B) ii, iii and iv only


    You Might also view the following Related Posts

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

    Solved MCQ of Management Information System set-1


    1. Which of the following is NOT an objective of MIS?

    A) Facilitate the decisions-making process

    B) Provide requisite information at each level of management

    C) Support decision-making

    D) recruit people for system



    2. In MIS system design, the sources of information may be categorized as ............... and ...............

    A) internal, external

    B) personal, organizational

    C) useful, unuseful

    D) constructive, destructive



    3. What among the following are the primary characteristics that information must process?
    English: Business Process Reengineering Cycle
    English: Business Process Reengineering Cycle (Photo credit: Wikipedia)


    i) Relevance             ii) Availability


    iii) Timeliness          iv) Accuracy


    A) Only i, ii, and iii

    B) Only ii, iii and iv

    C) Only i, iii and iv

    D) All i, ii, iii, and iv



    4. Which of the following models are developed on the principles of business management, accounting and econometrics?

    A) Behavioral model

    B) Management science models

    C) Operations research models

    D) Policy making models



    5. An ...................... is a set of processes and procedures that transform data into information and knowledge.

    A) information system

    B) Knowledge system

    C) Database system

    D) Computer system



    6. A system is called ..................... when the inputs, process and the outputs are known with certainty.

    A) Probablistics

    B) Deterministic

    C) Open

    D) Close



    7. Which of the following steps is/are the implementation plans involved in MIS?

    i) Preparing organizational plans

    ii) Planning of work flow

    iii) Training of personnel

    iv) Development of software

    v) Acquiring computer hardware

    A) i, ii and iii only

    B) i, ii, iii and iv only

    C) i, ii, iv and v only

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



    8. Which of the following is included in the Office automation systems?

    i) Word processing

    ii) Electronic mail

    iii) Voice mail

    iv) Electronic calendaring

    v) Audio conferencing

    A) i, ii, iii and v only

    B) i, ii, iii and iv only

    C) i, ii, iv and v only

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



    9. In a typical ................ network, application processing is shared between clients and one more servers.

    A) client server computing

    B) cloud computing

    C) mobile computing

    D) data computing



    10. The .................... is defined as a set of activities performed across the organization creating as output of value to the customer.

    A) development process

    B) business process

    C) quality process

    D) customer focus


    Answers:

    1.   D) recruit people for system
    2.   A) internal, external
    3.   A) Only i, ii, and iii
    4.   B) Management science models
    5.   A) information system
    6.   B) Deterministic
    7.   D) All i, ii, iii, iv and v
    8.   D) All i, ii, iii, iv and v
    9.   A) client server computing
    10. B) business process


    You Might also view the following Related Posts

    الجمعة، 16 أغسطس 2013

    MCQ of Computer Organization and Architecture with Answer set-3


    1. An exception condition in a computer system caused by an event external to the CPU is called ........

    A) Interrupt

    B) Halt

    C) Wait

    D) Process



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

    A) Previous State

    B) Next State

    C) Current State

    D) Both A and B
    English: A photo of three 32-bit PCI slots.
    English: A photo of three 32-bit PCI slots. (Photo credit: Wikipedia)



    3. A microprogram is sequencer perform the operation...

    A) read

    B) write

    C) read and write

    D) read and execute



    4. A computer program that converts an entire program into machine language at one time is called

    A) interpreter

    B) simulator

    C) compiler

    D) commander



    5. The unit which decodes and translates each instruction and generates the necessary enable signals for ALU and other units is called ..

    A) arithmetic unit

    B) logical unit

    C) control unit

    D) CPU



    6. State whether the following statement is True or False for cache memory.

    i) Cache memories are high-speed buffers which are inserted between the processors and main memory.

    ii) They can also be inserted between main memory and mass storage.

    iii) It can be used as secondary memory.

    A) i- True, ii- False, iii-True

    B) i- False, ii- True, iii-True

    C) i-True, ii-True, iii-False

    D) i- False, ii- False, iii-True



    7. The channel which handles the multiple requests and multiplexes the data transfers from these devices a byte at a time is known as .....

    A) multiplexor channel

    B) the selector channel

    C) block multiplex channel

    D) both A and C



    8. The address mapping is done, when the program is initially loaded is called ......

    A) dynamic relocation

    B) relocation

    C) static relocation

    D) dynamic as well as static relocation



    9. State whether the following statement is True or False for PCI bus.

    i) The PCI bus tuns at 33 MHZ and can transfer 32-bits of data(four bytes) every clock tick.

    ii) The PCI interface chip may support the video adapter, the EIDE disk controller chip and may be two external adapter cards.

    iii) PCI bus deliver the different throughout only on a 32-bit interface that other parts of the machine deliver through a 64-bit path.

    A) i- True, ii- False, iii-True

    B) i- False, ii- True, iii-True

    C) i-True, ii-True, iii-False

    D) i- False, ii- False, iii-True



    10. The I/O processor has a direct access to ....................... and contains a number of independent data channels.

    A) main memory

    B) secondary memory

    C) cache

    D) flash memory

    Answers:

    1.   A) Interrupt
    2.   C) Current State
    3.   D) read and execute
    4.   C) compiler
    5.   C) control unit
    6.   C) i-True, ii-True, iii-False
    7.   A) multiplexor channel
    8.   C) static relocation
    9.   C) i-True, ii-True, iii-False
    10. A) main memory


    You Might also view the following Related Posts

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

    Solved MCQ of JDBC and JSP set-1

    English: JDBC type 3 driver (Network Protocol ...
    English: JDBC type 3 driver (Network Protocol driver) (Photo credit: Wikipedia)

    1. What is JDBC?

    A) java compiler

    B) Java API

    C) Java interpreter

    D) Both A and B



    2. JDBC is a ..................... interface, which means that it is used to invoke SQL commands directly

    A) low-level

    B) middle-level

    C) higher-level

    D) user



    3. ODBC is not appropriate for direct use from java because it uses a ..............

    A) C interface

    B) C# interface

    C) java interface

    D) Both A and C



    4. Java Soft provides ................. JDBC product components as part of the java Developer's Kit (JDK)

    A) three

    B) two

    C) four

    D) single



    5. Kind of driver converts JDBC calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS is known as

    A) JDBC-Net pure Java driver

    B) JDBC-ODBC Bridge plus ODBC driver

    C) Native-API partly-Java driver

    D) Both A and B



    6. JSP stands for ..........................

    A) Java server Pages

    B) Java server Programming

    C) Java Server Process

    D) Java Socket Programming



    7. JSP includes a mechanism for defining ............................... or custom tags.

    A) static attributes

    B) local attributes

    C) dynamic attributes

    D) global attributes



    8. JSP is not governed by the syntax and semantics defined by the ................... specifications.

    A) Java 2

    B) Java 2.4

    C) Java 1

    D) Java 1.2
     


    9. JSP containers are required to support ..................... different formats of JSP syntax.

    A) Two

    B) Three

    C) Four

    D) Only One



    10. The difference between Servlets and JSP is the ................

    A) translation

    B) compilation

    C) syntax

    D) Both A and B


    Answers:

    1.   B) Java API
    2.   A) low-level
    3.   A) C interface
    4.   A) three
    5.   C) Native-API partly-Java driver
    6.   A) Java server Pages
    7.   C) dynamic attributes
    8.   A) Java 2
    9.   A) Two
    10. C) syntax

    You Might also view the following Related Posts

    Enhanced by Zemanta

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

    MCQ of C# with Answer set-3


    MCQs in C#
    MCQs in C#
    1. The general syntax for declaring an enumeration in C# is .

    A) <enum_name> enum {enum list};

    B) enum <enum_name> {enum list};

    C) <enum_type> enum <enum_name> {enum list};

    D) None of the above


    2. State True or False for the difference between classes and structures.

    i) Structures do not support inheritance

    ii) Structure can have default constructor

    iii) Classes are reference types and structures are value types.

    A) i- True, ii- False, iii-True

    B) i- False, ii- True, iii-True

    C) i-True, ii-True, iii-False

    D) i- False, ii- False, iii-True


    3. The various techniques provided by C# to implement static polymorphism is/are

    i) Function overloading

    ii) Static overloading

    iii) Operator overloading

    A) i and ii only

    B) i and iii only

    C)  ii and iii only

    D) All i, ii, iii


    4. Operator overloading is creating functions with special names, the keyword ........................ operator followed by the symbol for the operator being defined.

    A) Overload

    B) Update

    C) Operator

    D) Implement


    5. Match the following operators in C# with their description for the operator overload property.

    i) +, -, !, ~, ++, --            a) cannot be overloaded

    ii) ==, !=, <, >, <=, >=    b) cannot be overloaded directly

    iii) &&, ||                         c) take one operand and can be overloaded

    iv) =, ., ? :, ->                  d) can be overload

    A) i-d, ii-c, iii-a, iv-b

    B) i-b, ii-c, iii-a, iv-d

    C) i-c, ii-d, iii-b, iv-a

    D) i-a, ii-c, iii-d, iv-b


    6. Match the following preprocessor directives in C# with their description?

    i) #elif                      a) specifies the end of conditional directive

    ii) #endif                   b) allows to undefine a symbol.

    iii) #undef                  c) allows creating compound conditional directive

    A) i-b, ii-c, iii-a

    B) i-b, ii-c, iii-a

    C) i-c, ii-a, iii-b

    D) i-a, ii-c, iii-b


    7. The operator symbols can be used for the conditional directives in C# is/are.

    i) = = (equality)         ii) ! = (inequality)            iii) && (and)

    iv) || (or)                   v) >= (grater than or equal to)

    A) i, ii  iii and iv only

    B) i, iii and iv only

    C) i, ii, iii and v only

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


    8. Conditional directives are beginning with a ...................... directive and must be terminated with ....................... directive and must be terminated with .............. directive.

    A) #if, #endif

    B) #start, #end

    C) #elif, #endelif

    D) Both A and B


    9. The keywords provided by C# for exception handling are.

    i) try             ii) catch             iii) finally             iv) tryif             v) throw

    A) i, ii and iii and iv only

    B) ii, iii and iv and v only

    C) i, ii and iii and v only

    D) All i, ii, iii and iv


    10. The ................... block is used to execute a given set of statement, whether the exception is thrown or not.

    A) try

    B) tryif

    C) finally

    D) throw


    Answers:

    1.   B) enum <enum_name> {enum list};
    2.   A) i- True, ii- False, iii-True
    3.   B) i and iii only
    4.   C) Operator
    5.   C) i-c, ii-d, iii-b, iv-a
    6.   C) i-c, ii-a, iii-b
    7.   A) i, ii and iii and iv only
    8.   A) #if, #endif
    9.   C) i, ii and iii and v only
    10. C) finally


    You Might also view the following Related Posts

    الاثنين، 12 أغسطس 2013

    Solved Objective Questions of C# set-1


    1. Which of the following is not the component of .Net framework?

    A) Common Language Run time(CLR)

    B) .Net Framework Library.

    C) Component Network

    D) Windows Workflow Foundation (WF)


    2. Following is/are the Integrated Development Environment (IDE) for C#.

    A) Visual Studio 2010 (VS)

    B) Visual Web Developer

    C) Both A and B
    Visual overview of the Common CLR Language Inf...
    Visual overview of the Common CLR Language Infrastructure, and how the components relate to each other. Converted to SVG from PNG version, originally by Foofy from English Wikipedia. (Photo credit: Wikipedia)

    D) Only A


    3. A C# program may consist of the following parts.

    i) Namespace declaration

    ii) Class methods

    iii) A main method

    iv) Statement & Expressions

    A) i, ii and iii only

    B) ii, iii and iv only

    C) i, iii and iv only

    D) All i, ii, iii and iv


    4. State True or False for naming class in C#.

    i) The class name can be a C# keyword.

    ii) A name must begin with a letter, can be followed by letters, digits and underscore.

    A) i- True, ii- False

    B) i- False, ii- True

    C) i-True, ii-True

    D) i- False, ii- False


    5. ...................... is a name which can be used to identify a class, variable, function etc.

    A) Keyword

    B) Reference

    C) Identifier

    D) Object


    6. .................... conversions are performed by C# compiler itself and ..................... conversions are performed by users by using predefined functions.

    A) Implicit type, Explicit type

    B) Explicit type, Implicit type

    C) External type, Internal type

    D) Internal type, External type


    7. A variable can be declared by using which of the following syntax?

    A) <variable_list> <data_type>;

    B) <variable_list>, <data_type>

    C) <data_type> <variable_list>

    D) <data_type> <variable_list>;


    8. Match the following.

    i) *                  a) returns the address of an variable

    ii) ? :                b) point to variable

    iii) &                c) conditional expression

    A) i-a, ii-b, iii-c

    B) i-b, ii-c, iii-a

    C) i-c, ii-a, iii-b

    D) i-a, ii-c, iii-b


    9. C# supports the following types of access specifiers.

    i) public ii) friend iii) private iv) protected v) internal

    A) i, ii, iii and iv only

    B) i, iii, iv and v only

    C) i, ii, iv and v only

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


    10. ........................ access specifier allows a class to expose it's member variables and member functions to other functions and objects in the current application.

    A) Internal

    B) Protected

    C) Private

    D) Public


    Answers:

    1.  C) Component Network
    2.  C) Both A and B
    3.  D) All i, ii, iii  and iv
    4.  B) i- False, ii- True
    5.  C) Identifier
    6.  A) Implicit type, Explicit type
    7.  D) <data_type> <variable_list>;
    8.  B) i-b, ii-c, iii-a
    9.   B) i, iii, iv and v only
    10. A) Internal


    You Might also view the following Related Posts

    السبت، 10 أغسطس 2013

    Solved Objective Questions of CSS set-4


    1. In CSS filters, ........................... will be used to create a shadow of object at the specified horizontal and vertical offset and color.

    A) Drop shadow effect

    B) Chroma filter

    C) Shadow object effect

    D) Shadow filter


    2. ............................. will be used to create attenuated shadow in the direction and color specified.
    English: graphic of the main CSS table spaces
    English: graphic of the main CSS table spaces (Photo credit: Wikipedia)

    A) Drop shadow effect

    B) Chroma filter

    C) Shadow object effect

    D) Shadow filter


    3. State whether the statements are true or false.

    i) Glow effect will be used to create a glow around the object.

    ii) The two parameters used in glow effect are color and intensity.

    iii) Invert effect will be used to create a negative image

    A) i-true, ii-true, iii-true

    B) i- true, ii-false, iii-true

    C) i-false, ii-true, iii-true

    D) i-false, ii-false, iii-true


    4. Which of the following are the parameters used in wave effect of CSS filter property?

    i) add        ii) freq          iii) light          iv) phase         v) intensity


    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


    5. Match the different CSS media types with their descriptions.

    i) all a) Intended for speech synthesizers.

    ii) aural b) Intended primary for color computer screen.

    iii) screen c) Intended for paged braille printers.

    iv) embossed d) Suitable for all devices

    A) i-a, ii-b, iii-c, iv-d

    B) i-c, ii-d, iii-a, iv-b

    C) i-d, ii-a, iii-b, iv-c

    D) i-b, ii-c, iii-d, iv-a


    6. The ................... property allows you to specify the content for a <caption> element should be placed in relationship to the table.

    A) Caption

    B) Caption-side

    C) Caption-position

    D) Caption-align



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

    A) empty-row

    B) empty-column

    C) empty-cell

    D) empty



    8. The ........................ property for HTML tables in CSS specifies whether the browser should control the appearance of adjacent borders that touch each other.

    A) border-spacing

    B) border-collapse

    C) caption-side

    D) table-layout



    9. The ................. property indicates whether the marker should appear inside or outside of the box containing the bullet points.

    A) list-style-align

    B) list-style-type

    C) list-style-position

    D) list-style-appearance



    10 . The overflow property of CSS can take one of the following values.

    i) visible                  ii) invisible              iii) hidden             iv) scroll           v) auto

    A) i, ii, iii and iv only

    B) i, iii, iv and v only

    C) i, ii, iv and v only

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


    Answers:

    1.  A) Drop shadow effect
    2.  D) Shadow filter
    3.  B) i- true, ii-false, iii-true
    4.  A) i, ii, iii and iv only
    5.  C) i-d, ii-a, iii-b, iv-c
    6.  B) Caption-side
    7.  C) empty-cell
    8.  B) border-collapse
    9   C) list-style-position
    10  B) i, iii, iv and v only


    You Might also view the following Related Posts

    الجمعة، 9 أغسطس 2013

    Objective Questions of CSS with Answer set-3


    1. The following syntax to set margin around a paragraph will make- p{margin:10px 2%}

    A) Top and bottom margin will be 10px and left and right margin will be 2% of the total width.

    B) Left and right margin will be 10px and top and bottom margin will be 2% of the total height

    C) Top margin will be 10px and other margins will be 2% of the total width

    D) Left margin will be 10px and other margins will be 2% of the total width


    2. The ...................... property allows you to control the shape or style of bullet point in the case of unordered lists, and the style of numbering characters in ordered list.

    A) list-style-type

    B) list-style-layout

    C) list-type-style

    D) list-type


    Box model in CSS
    Box model in CSS (Photo credit: Wikipedia)


    3. The ......................... property allows to specify the distance between the list and the text relating to the list.

    A) list-spacing

    B) marker-spacing

    C) marker-offset

    D) list-offset


    4. The ...................... property allows to specify how much space appear between the content of an element and it's border.

    A) Spacing

    B) Marking

    C) Padding

    D) Content-border


    5. State True or False for CSS outlines properties.

    i) An outline does take up space

    ii) Outline do not have to be rectangular.

    iii) Outline is always the same on all sides.

    A) i-True, ii-True, iii-False

    B) i-False, ii-False, iii-True

    C) i-True, ii-False, iii-True

    D) i-False, ii-True, iii-True


    6. The overflow property in CSS can take one of the following values.

    i) visible ii) hidden iii) scroll iv) non-scroll v) auto

    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



    7. Which of the following is/are the valid syntax for CSS pseudo classes.

    A) selector: pseudo-class{property: value}

    B) selector.class: pseudo-class{property:value}

    C) Both A and B

    D) None of the above


    8. The valid examples of ID selectors is/are

    A) #black{color: #000000;}

    B) h1 #black{color: #000000;}

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

    D) All of the above


    9. Which of the following is/are the possible values of CSS pseudo element property?

    i) : first line ii) : last-line iii) : before iv) : after v) : between

    A) i, iii and iv only

    B) i, ii, and v only

    C) i, ii, iv and v only

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


    10. The ............... rule is used to make sure that the property always be applied whether another property appears in CSS.

    A) @important

    B) #important

    C) !important

    D) !first

    Answers:

    1.  A) Top and bottom margin will be 10px and left and right margin will be 2% of the total width.
    2.  A) list-style-type
    3.  C) marker-offset
    4.  C) Padding
    5.  D) i-False, ii-True, iii-True
    6.  B) i, ii, iii and v only
    7.  C) Both A and B
    8.  D) All of the above
    9   A) i, iii and iv only
    10 C) !important


    You Might also view the following Related Posts

    الخميس، 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