الجمعة، 31 مايو 2013

MCQ of Structured Query Language(SQL) With Answer Set -2


1. Which of the following query is correct for using comparison operators in SQL?

A) SELECT sname, coursename FROM studentinfo WHERE age>50 and <80;

B) SELECT sname, coursename FROM studentinfo WHERE age>50 and age <80;

C) SELECT sname, coursename FROM studentinfo WHERE age>50 and WHERE age<80;

D) None of the above



2.How to select all data from studentinfo table starting the name from letter 'r'?

A) SELECT * FROM studentinfo WHERE sname LIKE 'r%';

B) SELECT * FROM studentinfo WHERE sname LIKE '%r%';

C) SELECT * FROM studentinfo WHERE sname LIKE '%r';

D) SELECT * FROM studentinfo WHERE sname LIKE '_r%';



3. Which of the following SQL query is correct for selecting the name of staffs from 'tblstaff' table where salary is 15,000 or 25,000?

A) SELECT sname from tblstaff WHERE salary IN (15000, 25000);

B) SELECT sname from tblstaff WHERE salary BETWEEN 15000 AND 25000;

C) Both A and B

D) None of the above



4. The SELECT statement, that retrieves all the columns from empinfo table name starting with d to p is ..........................

A) SELECT ALL FROM empinfo WHERE ename like '[d-p]%';

B) SELECT * FROM empinfo WHERE ename is '[d-p]%';

C) SELECT * FROM empinfo WHERE ename like '[p-d]%';

D) SELECT * FROM empinfo WHERE ename like '[d-p]%';



5. Select a query that retrieves all of the unique countries from the student table?

A) SELECT DISTINCT coursename FROM studentinfo;

B) SELECT UNIQUE coursename FROM studentinfo;

C) SELECT DISTINCT coursename FROM TABLE studentinfo;

D) SELECT INDIVIDUAL coursename FROM studentinfo;



6. Which query is used for sorting data that retrieves the all the fields from empinfo table and listed them in the ascending order?

A) SELECT * FROM empinfo ORDER BY age;

B) SELECT * FROM empinfo ORDER age;

C) SELECT * FROM empinfo ORDER BY COLUMN age;

D) SELECT * FROM empinfo SORT BY age;



7. Select the right statement to insert values to the stdinfo table.

A) INSERT VALUES ("15", "Hari Thapa", 45, 5000) INTO stdinfo;

B) INSERT VALUES INTO stdinfo ("15", "Hari Thapa", 45, 5000);

C) INSERT stdinfo VALUES ("15", "Hari Thapa", 45, 5000);

D) INSERT INTO stdinfo VALUES ("15", "Hari Thapa", 45, 5000);



8. How to Delete records from studentinfo table with name of student 'Hari Prasad'?

A) DELETE FROM TABLE studentinfo WHERE sname='Hari Prasad';

B) DELETE FROM studentinfo WHERE sname='Hari Prasad';

C) DELETE FROM studentinfo WHERE COLUMN sname='Hari Prasad';

D) DELETE FROM studentinfo WHERE sname LIKE 'Hari Prasad';



9. Constraint checking can be disabled in existing ............. and .............. constraints so that any data you modify or add to the table is not checked against the constraint.

A) CHECK, FOREIGN KEY

B) DELETE, FOREIGN KEY

C) CHECK, PRIMARY KEY

D) PRIMARY KEY, FOREIGN KEY



10. ..................... joins two or more tables based on a specified column value not equaling a specified column value in another table.

A) OUTER JOIN

B) NATURAL JOIN

C) NON-EQUIJOIN

D) EQUIJOIN


Answers:

1.  B) SELECT sname, coursename FROM studentinfo WHERE age>50 and age <80;
2.  A) SELECT * FROM  studentinfo WHERE sname LIKE 'r%';
3.  A) SELECT sname from tblstaff WHERE salary IN (15000, 25000);
4.  D) SELECT * FROM empinfo WHERE ename like '[d-p]%';
5.  A) SELECT DISTINCT coursename FROM studentinfo;
6.  A) SELECT * FROM  empinfo ORDER BY age;
7.  D) INSERT INTO stdinfo VALUES ("15", "Hari Thapa", 45, 5000);
8.  B) DELETE FROM studentinfo WHERE sname='Hari Prasad';
9. A) CHECK, FOREIGN KEY
10.C) NON-EQUIJOIN

You Might also view the following Related Posts

الخميس، 30 مايو 2013

Solved MCQ of SQL Server set-1

1. ........................ is the full form of SQL.
A) Standard Query Language
B) Sequential Query Language
C) Structured Query Language
D) Server Side Query Language

2. SQL Server 2005 NOT includes the following system database .............
A) tempdb Database
B) Master Database
C) Model Database
D) sqldb Database

3. SQL Server stores index information in the ..................... system table.
A) sysindexes
B) systemindexes
C) sysind
D) sysindexes

4. ..................... is a read-only database that contains system objects that are included with SQL Server 2005.
A) Resource Database
B) Master Database
C) Model Database
D) msdb Database

5. The SQL Server services includes .....................
A) SQL server agent
B) Microsoft distribution transaction coordinator
C) Both a & b
D) None of the above

6. ...................... is a utility to capture a continuous record of server activity and provide auditing capability.
A) SQL server profile
B) SQL server service manager
C) SQL server setup
D) SQL server wizard

7. The query used to remove all references for the pubs and newspubs databases from the system tables is ..........................
A) DROP DATABASE pubs, newpubs;
B) DELETE DATABASE pubs, newpubs;
C) REMOVE DATABASE pubs, newpubs;
D) DROP DATABASE pubs and newpubs;

8. ...................... clause specifies the groups into which output rows are to be placed and, if aggregate functions are included in the SELECT clause.
A) ORDER BY
B) GROUP
C) GROUP BY
D) GROUP IN

9. .................. are predefined and maintained SQL Server where users cannot assign or directly change the values.
A) Local Variables
B) Global Variables
C) Assigned Variables
D) Direct Variables

10. Microsoft SQL Server NOT uses which of the following operator category?
A) Bitwise Operator
B) Unary Operator
C) Logical Operator
D) Real Operator

Answers:

1.  C) Structured Query Language
2.  D) sqldb Database
3.  D) sysindexes
4.  A) Resource Database
5.  C) Both a & b
6.  B) SQL server service manager
7.  A) DROP DATABASE pubs, newpubs;
8.  C) GROUP BY
9.  B) Global Variables
10.D) Real Operator

You Might also view the following Related Posts

الثلاثاء، 28 مايو 2013

Solved MCQ of E-Commerce and E-Banking Set-1

1. The term e-commerce includes ............................
A) Electronic trading of Physical goods and intangibles such as information.
B) The electronic provision of services such as after sales support or online legal advice
C) All the steps involved in trade, such as on-line marketing ordering payment and support for delivery.
D) All of the above.


2. Which of the following is the largest community in classification of e-commerce?
A) Business to Business (B to B)
B) Business to Consumer (B to C)
C) Business to Government (B to G)
D) Government to Government (G to G)

3. Which of the following is not the example of business to consumer (B to C) e-commerce?
A) Amazon.com
B) e-bay.com
C) dell.com
D) lastminute.com

4. The types of Business to Business e-commerce are ................
A) Direct selling and support to Business
B) Industry portals
C) Information sites about a industry
D) All of the above

5. Which of the following are the benefits of E-marketing?
i) Speed                                ii) Reach and Penetration
iii) Ease and Efficiency           iv) Low Cost
v) Targeted audience
A) i, ii, iii and iv only
B) ii, iii, iv and v only
C) i, iii, iv and v only
D) All i, ii, iii, iv and v

6. ...................... is the process of recreating a design by analyzing a final product.
A) Forward Engineering
B) Reverse Engineering
C) Backward Engineering
D) None of the above

7. .................. is simply the use of electronic means to transfer funds directly from one account to another, rather than by cheque or cash.
A) M-Banking
B) O-Banking
C) E-Banking
D) D-Banking

8. The telephone banking service includes ...................
i) Automatic balance voice out   ii) Inquiry all term deposit account
iii) Direct cash withdraw           iv) Utility Bill payments
v) Voice out last five transactions
A) i, ii, iii and v only
B) i, ii, iv and v only
C) ii, iii, iv and v only
D) All i, ii, iii, iv and v

9. Which of the following are the forms of E-banking?
i) Internet Banking                      ii) Telephone Banking
iii) Electronic Check conversion   iv) Electronic Bill Payment
v) Direct Deposit
A) i, ii, iii and iv only
B) ii, iii, iv and v only
C) i, iii, iv and v only
D) All i, ii, iii, iv and v

10. What is the full form of SWIFT?
A) Society for Worldwide Internet Financial Telecommunications.
B) Secret Wide Interbank Financial Telecommunications
C) Society for Worldwide Interbank Financial Telecommunications
D) None of the Above

Answers:

1.  D) All of the above.
2.  A) Business to Business (B to B)
3.  B) e-bay.com
4.  D) All of the above
5.  D) All i, ii, iii, iv and v
6.  B) Reverse Engineering
7.  C) E-Banking
8.  B) i, ii, iv and v only
9.  D) All i, ii, iii, iv and v
10.D) None of the Above

You Might also view the following Related Posts

الأحد، 26 مايو 2013

MCQ of Internet and HTML With Answer Set-2


1. ......................... connects web pages.
A) Connector
B) Link
C) Hyperlink
D) None of the above

2. Internet is ...............................
A) a network of networks
B) an ocean of resources waiting to be mined
C) a cooperative anarchy
D) all of the above

3. .................. is suitable for remote administration of a computer.
A) FTP
B) Shell
C) Remote Procedure Call
D) Telnet

4. Title tag is nested within the ....................... tag.
A) Body
B) Head
C) List
D) Table

5. .................... is a web's native protocol.
A) SLIP
B) TCP/IP
C) HTTP
D) PPP

6. The Internet uses the ........................ as the protocol engine.
A) SLIP
B) HTTP
C) TCP/IP
D) PPP

7. A ............................. is a symbolic name a network administrator assigns to a machine.
A) URL
B) DNS
C) IP address
D) Host name

8.  Which of the following protocol is used for e-mail services.
A) SMAP
B) SMTP
C) SMIP
D) SMOP

9. ...................... is the incoming e-mail server.
A) POP
B) SMTP
C) SMIP
D) PPP

10. ....................... is a uniform naming scheme for locating resources on the web.
A) URI
B) HTTP
C) WEBNAME
D) RESOURCENAME

Answers:

1. C) Hyperlink
2.  D) all of the above
3.  D) Telnet
4.  B) Head
5.  C) HTTP
6.  C) TCP/IP
7.  D) Host name
8.  B) SMTP
9.  A) POP
10. A) URI


You Might also view the following Related Posts

السبت، 25 مايو 2013

Solved MCQ of Internet and HTML set-1


1. The attribute .................. of <BODY> tag sets color of hypertext links.
A) link
B) vlink
C) alink
D) hlink

2. Default font size of HTML is .......................
A) 2
B) 4
C) 6
D) 3

3. This is a networking device that passes data between networks having similar functions but dissimilar implementations.
A) Hub
B) Modem
C) Gateway
D) Repeater

4. In order to connect to ISP's server you need .......
A) Hand gloves
B) Printer
C) User name and Password
D) None of the above

5. DNS translates .........
A) domain name into IP
B) IP into domain name
C) both a & b
D) domain name into physical address

6. In order to upload a HTML file to a web server, you use
A) HTTP
B) SMTP
C) SIP
D) FTP

7. IEEE stands for ........
A) Institute of estimated elevator efficiency
B) Institute of electrical and economical engineers
C) Institute of Eurasia engineering event
D) Institute of electrical and electronics engineers

8. The regional networks are connected to the corporate networks, this is also called as ........
A) Backbone
B) LAN COM
C) WAN COM
D) Intranet

9. Once the email is sent, the message is broken into pieces called ..................
A) Packets
B) Process
C) Digits
D) Bytes

10. ................... is known as father of World Wide Web.
A) Robert Cailliau
B) Tim Thompson
C) Charles Darwin
D) Tim Berners-Lee


Answers:

1. A) link
2. D) 3
3. C) Gateway
4. C) User name and Password
5. C) both a & b
6. D) FTP
7. D) Institute of electrical and electronics engineers
8. A) Backbone
9. A) Packets
10. D) Tim Berners-Lee

You Might also view the following Related Posts

السبت، 18 مايو 2013

How to Optimize Images for Web Using Photoshop and ImageReady?

Image Optimization
Using optimized images on your website or blog is most necessary thing for both loading speed and quality. The size of optimized images are very small than the original images, so it can decrease the weight of your site drastically. 

There are lots of free as well as paid websites for providing service of image optimization on online. You can also use some special applications for optimizing images by downloading from web. But today, I am going to tell about a best offline method using well known applications Adobe Photoshop and ImageReady. 

To Optimize Images Using Adobe Photoshop 


It is well known that Adobe Photoshop is the most popular Photo editing Software. Along with editing you can save images as optimize for web by using the following steps. 

1. At first open an image using Adobe Photoshop program and redesign or edit that using appropriate tools. 

2. After that go to file menu and click on save for web option. 

3. In the new window select Optimized or 2-up or 4-up tab to preview optimized images. Select the image having required format and quality and click on save. 

optimizing image using photoshop

To Optimize Images Using Adobe ImageReady 


Adobe ImageReady is the application specially for designing images for web. You can create different size of banners image in the number of formats like '.jpeg', '.gif', '.png' etc. To save your designed image as optimized for web, you can use the following steps. 

1. At first open an image using Adobe ImageReady program and redesign or edit that using appropriate tools. 

2. Select the required file format and quality from the palate. 

3. After that go to file menu and click on save optimized as option. 

4. Click on save after giving filename. 

If you have such any other tips for optimizing images for web and if you have any comments about this post you can mention this on the comment session of this blog. I will always welcome to you

Best Blog Post Optimization Tips for Blogger

boggger tips
You can optimize your blog post or whole your blog by following the some very simple steps which may not know most of the bloggers. Today I am going to tell you very simple and easy tips but which are very important for fulfillment of your dream of creating quality blog. These tips also help for making your blog more visible on search engines.
 

Tip-1: Insert image 'alt' and 'title' attribute in your blog post?


It is necessary to insert image 'alt' and 'title' attribute in your blog post for better search engine optimization (SEO) and blogs quality. If you placed 'alt' and 'title' attribute in your post images, it will increases the visibility of your image on search engines. If your blogs image appeared on the 'image search result', user also goes to your blog which can directly increase your blogs traffic. Here I have explained the easiest methods to insert 'alt' and 'title' attribute of image in the blog post.

Steps for Inserting image 'alt' and 'title' attribute


# Place the cursor on the required place in a new post, where you want to insert image. Then click on image     icon, browse the desired image and click on Add.


# After inserting image on the post, single click over the image and click on the properties option.


# Then a pop up window will appear. Write desired 'alt' text and 'title' on the respective input boxes.

Tip-2: Deactivate Showcase Images with Light box


When you clicked on your images on your posts, your images will open in an overlay on top of your blog. If your post has multiple images, they will appear as thumbnails along the bottom. If you activated this feature, if visitor of your blog clicked on the image, it will appear on light box with appearing your blog on the background; it may bring bad user experience. So you can deactivate this feature by using the following easy steps.

 # At first click on the setting tab from the dashboard of the blog and click on Posts and comments option.

# Go to Showcase images with Lightbox option and choose the option 'No' from the drop down menu.

# Click on save setting button.

If you have such any other tips for optimizing the blog and its post and if you have any comments about this post you can mention this on the comment session of this blog. I will always welcome to you.

You may also wanted to view the following related posts

Tags: Link Building  creating quality backlinks  keyword research tools Blogging Tips

الجمعة، 17 مايو 2013

How to add Feedburner's icon and e-mail subscription box?


google feedburner
After registering and setting up feedburner's account you can place email-subscription box to help your blog readers to subscribe your blog post and to update instantly and reader icon to subscribe for different readers like My Yahoo, Newsgator Bloglines etc. You can make easier to subscribe your blog post for your users by placing HTML codes provided by feedburner.

How to place feedburner email subscription box on your blog



# At first login to your feedburner account. And go to publicize tab.

# And then click on Email Subscriptions option as shown in image below.

feedburner email activation


# Click on on Activate button. 

# Copy the given code under subscription management option shown as in the image below and place this on the required place on your blog. OR  You can place it directly by selecting your blog service provider and clicking on Go button.

feedburner email subscription



How to place feedburner reader icon on your blog


# At first login to your feedburner account. And go to publicize tab.

# And then click on Chicklet Chooser option as shown in image below.

feedburner chicklet chooser


# And then Click on subscribe on reader option.

# Copy the given code and place this on the required place on your blog. 


You may also wanted to view the following related posts

Tags: Link Building  creating quality backlinks  keyword research tools .edu forums or sites

How To Setup Google Feedburner Feed To Your Blog ?


Setup Google Feedburner Feed
Google Feedburner is the best and free to use service to subscribe your blog posts by your blog users. It is the best option for marketing your blog post and informing about your latest post on the blog. It makes easy to update content updates My Yahoo, News-gator  Bloglines and other more. Your content was delivered automatically via web portal, news reader, e-mail etc. It is also possible for site content can be packaged into widgets, gadgets, mobile device, postcard and other news headlines.


How to Setup Google Feed burner Feed to Your Blog? 



Here are the steps to Setup Google Feed burner Feed to your blog.


# At first register to Google Feed burner.


You can register on it, by logging on using Google account.

Click Here To Register To Google Feed burner

Click on the Claim your feeds now button shown in image below.

Feed-burner Feed


On the next page you can move your feed burner feed if you are already using feed burner by log in into it, using feed burner's user and password or you can skip this step if you don't want.

Type blog or feed address on the box and click on next. If your blog have both Atom and Rss feed, you can select any one of them on the next screen. Edit your feed title and address if you want.


# Optimize your Feed using different services.



You can optimize more your feed using different services like Smart Cast, Smart Feed and Feed flare. Smart Cast service link to MP3s, videos, images, and other digital media in your site content and creates enclosures for them automatically. Smart Feed translates your feed on-the-fly into a format (RSS or Atom) compatible with your visitors' feed reader application. Feed Flare places a simple footer at the bottom of each content item, helping you to distribute, inform and create a community around your content. You can link the feed of flicker or Buzznet photos feed on it.


# Publicize your Feed to your or others site or blog.



You can publicize your Feed by using different services like Headline Animator, Buzz bust, Email Subscription, Ping Shot, Feed Count etc. By using Headline Animator you can animate your posts headline on your blog or other blog or site by placing the HTML code. Buzz bust helps you to promote your post by publishing your feeds by placing HTML code on other places. Ping Shot automatically checks for updates from your blog on its own time. You can also place Email subscription box on your blog by acquiring codes from here and Feed count graphic to show your subscribed users. Additionally you can publish your blog posts on social media like Twitter by linking your Twitter account and activating it, by using Socialize tab. You can also place your favorite icon to help users easily subscribe to your feed by using Chicklet Chooser.


You may also visit 

# Redirect your default feed to the Feedburner Feed. 


After successfully setting up your Feed you can redirect your default feeds to the Feed burner Feed.


How to redirect blogger's default feed to the Feedburner Feed?



    1. At first go to your blogger account dashboard and click on settings tab.
    2. Paste your feed burners URL on  post feed redirect  URL box under the other tab.


    الأحد، 5 مايو 2013

    How to Utilize Google Services for effective SEO?


    How to Utilize Google Services
    Everyone knows that Google is the emperor of the web. It is the largest web search engine and it does not just a web search. There are many services offered by Google for different purposes. Some of those services may extremely useful for search engine optimization work. Almost all of the SEO experts utilize those services for better SEO. If anyone can achieve successful utilization of them definitely get benefit from their sites. Here I have listed here some important services of Google for Search Engine Optimization purposes and their effective methods of utilization. 

    1. Google Webmasters: It is the most important service provided by Google to optimize their site for website owners. They provides different types of tools for websites Health, Traffic and Optimization for search engines and also provides helps and guidelines for creating quality website. Using this webmaster service, you can do the following activities to optimize your site for search engines. 

    a. Submit your site for crawling by signing up into webmasters tools and verify that using given    instructions. 

    b. Submit your website or blog xml sitemap to get notified about your content for indexing your site. 

    c. Get report about your search queries, indexing status, internal and external links on your site and many more others. 

    d. Remove 404 error pages of your site and other broken links located on other external sites by using its      URL removal tool. 

    2. Google Analytics: It is the service for analyzing about the traffic on your site and gets reported about them by different criteria used.  The different types of reports like the number of total visits, new visits and repeated visits, average visit duration, real time visits and the traffic sources provided by this service helps us for better user experience for our site, which helps to improve based on that. 

    3. Google Web search: You can use this service for knowing the indexing and search result appearing status for your site also can submit your site on the search engine. 

    4. Google Blog Search: You can submit your blog here for indexing your blog on this blog search site. 

    5. Google Trends: This service of Google may very helpful for getting idea and deciding what topic or keywords are important for your website. You can get the reports of searching volume based on the specific location and keywords. 

    6. Google Adwords:  This service is for pay per click (PPC) advertising, you can place ads by using your suitable campaign. Also you can use its Keyword Research Tool to do keyword research for your website. 

    7. Google Bookmarks: You can use this service to bookmark your favorite websites along with your own website. 

    8. Google Groups: You can use this service to participate on groups or created you own groups for discussions about any topic. You can do SEO for your site by creating a group about the topic about your site and discussing about that topic. 

    9. Page Speed Insights: It is the tool or service provided by Google Developers to analyze the loading speed of your website. You can view the list of suggestions for improving your website's speed listing on High, Medium and Low priority giving with score for out of 100. Correct the errors which are given on suggestion and increase the speed and the score given there. 

    10. Structured Data Testing Tool: You can check your websites markup and make sure that Google search engine can extract the structured data from your web page. This tool will also display the markup tags found on a specific web page, as well as a preview of how that page might appear in Google search results. 

    By effectively utilizing the services I have listed above can be move up your site for Search Engine Optimization. If you have any comments about this post or you know about any Google services which may be used for SEO purpose can post on the comment session. I will always welcome your response.