Friday, August 30, 2013

How To Set Up Facebook Like Button in a Blogger?

Facebook Like Button

In this tutorial you can get simple steps for How to set up a Facebook Like Button on your bloggers blog. By adding this on your blog you get more likes for your Facebook Fan Page from the visitors of your blog. It can help 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 place Facebook Like Box / Fan Box instead of like button you can visit: How To Set Up Facebook Like Box in a Blog?

By adding Facebook Like Button 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.



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-like-box-config

  • At first go to Facebook Developers Page.
  • Paste the copied URL on the Facebook Page URL Text box.
  • Change width,  layout style, font, color scheme as you like or as matches to your blog.
  • Check or Uncheck on the Send button check box to show or hide Send button.
  • Check or Uncheck on the Show faces check box to show or hide the faces.
  • 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.

Thursday, August 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.

Tuesday, August 27, 2013

MCQ of Management Information System With Answer set-2

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

Friday, August 23, 2013

How to Create Simple JavaScript Fade Effect Animation?

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

    Thursday, August 22, 2013

    MCQ of JavaScript with Answer set-2

    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

    Saturday, August 17, 2013

    Solved MCQ of JavaScript set-1

    Solved MCQ of JavaScript set-1


    1. State whether the following statements are True or False.

    i) JavaScript ignores spaces, tabs and newlines that appear in JavaScript program.

    ii) Semicolons are necessary while writing JavaScript statements.

    iii) JavaScript is a case-sensitive language.

    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



    2. Which of the following are the advantages of JavaScript?

    i) Less server interaction

    Titel WikiBook JavaScript
    Titel WikiBook JavaScript (Photo credit: Wikipedia)
    ii) Immediate feedback to visitors

    iii) Reading or writing of files

    iv) Increased interactivity

    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



    3. Which of the following is NOT an operator used in JavaScript?

    A) Arithmetic Operator

    B) Comparison Operator

    C) Conditional Operator

    D) Static Operator



    4. JavaScript For Loops contains the following important parts.

    i) The loop initialization to start value.

    ii) The test statement to test if the given condition is True or not.

    iii) The iteration statement to increase or decrease counter.

    iv) The end statement to finish the loop.

    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. In JavaScript, a ............................ is simply an identifier followed by a colon that is applied to a statement or block of code.

    A) bookmark

    B) label

    C) break

    D) continue



    6. A JavaScript function which can be defined dynamically along with the new operator using ..........

    A) Nested Function

    B) Function Literals

    C) Function ( ) Constructor

    D) None of the above



    7. A function literal is an expression that defines unnamed function. The syntax for function literal is ......

    A) var variable name=function (Argument list){Function Body};

    B) variable name=function (Argument list){Function Body};

    C) var variable name =new function(Arg1, Arg2, ......,"function body");

    D) variable name =new function(Arg1, Arg2, ......,"function body");



    8. Match the following JavaScript function with their description.

    i) onblur             a) script runs when element changes

    ii) onmouseup     b) script runs when the form is reset

    iii) onchange       c) script runs when the element lost focus.

    iv) onreset          d) script runs when mouse button is released.

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

    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



    9. Cookies are a plain text data record having the following variable length fields.

    i) Expires                  ii) Starts            iii) Domain             iv) Secure

    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



    10. While reading Cookies, the ................ string will keep a list of name = value pairs separated by semicolons, where name is the name of a cookie and value is its string value.

    A) document.cookie

    B) read.cookie

    C) cookie.string

    D) name.cookie

    Answers:

    1.   A) i- True, ii- False, iii-True
    2.   C) i, ii and iv only
    3.   D) Static Operator
    4.   A) i, ii and iii  only
    5.   B) label
    6.   C) Function ( ) Constructor
    7.   A) var variable name=function (Argument list){Function Body};
    8.   C) i-c, ii-d, iii-a, iv-b
    9.   C) i, ii and iv only
    10. A) document.cookie


    You Might also view the following Related Posts

    Enhanced by Zemanta

    Friday, August 16, 2013

    MCQ of Computer Organization and Architecture with Answer set-3

    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