Archive for January, 2011

Use Incognito window in chrome for doing private browsing

We can do private browsing in Google Chrome browser by using incognito window.

Pages viewed in this incognito window won’t appear in the browser history or search history, and they won’t leave other traces, like cookies after closing the incognito window.

To know more about this click here

January 17, 2011 at 2:05 pm Leave a comment

How to split a string into individual characters using PHP?

In one of our php project, we had to split a string into individual characters. I thought there should be some built-in function for doing this. But I couldn’t find the appropriate build-in php function.

Currently we are using below code snippet for doing this split..

for($i=0;$i< strlen($inputstring);$i++){
 $letterarray[]=$inputstring[$i];
 }

You can let me know thro’ the comments if you know any suitable function for doing this task.

January 17, 2011 at 1:29 pm Leave a comment

PHP Quiz Questions and Answers

Find below MCQ (Multiple Choice) questions and Answers for PHP.

PHP QUESTIONS AND ANSWERS

1)<?php
$x=array(“aaa”,”ttt”,”www”,”ttt”,”yyy”,”tttt”);
$y=array_count_values($x);
echo $y[ttt];
?>
a)2
b)3
c)1
d)4
Show Answer

2) How do you get information from a form that is submitted using the “get” method?
a)$_GET[];
b)Request.Form;
c)Request.QueryString;
d)$_POST[];
Show Answer

January 17, 2011 at 1:21 pm Leave a comment

Software Testing Quiz Questions and Answers

Find below MCQ (Multiple Choice) questions and Answers useful for learning Software Testing.

Software Testing Quiz Questions and answers

1) The approach/document used to make sure all the requirements are covered when writing test cases
a) Test Matrix
b) Checklist
c) Test bed
d) Traceablity Matrix
Show Answer

2) Executing the same test case by giving the number of inputs on same build called as
a) Regression Testing
b) ReTesting
c) Ad hoc Testing
d) Sanity Testing
Show Answer

January 17, 2011 at 1:19 pm Leave a comment

Javascript Quiz Questions and Answers

Find below MCQ (Multiple Choice) questions and Answers useful for learning Javascript.

Javascript Quiz Questions and Answers

1) <script type=”text/javascript”>
x=4+”4″;
document.write(x);
</script>

Output——?

a) 44
b) 8
c) 4
d) Error output
Show Answer

2) <script type=”text/javascript” language=”javascript”>
var qpt = “Qualiyt Point Technologies”;
var result = qpt.split(” “);
document.write(result);
</script>
a) Quality
b) Q,u,a,l,i,t,y,P,o,i,n,t,T,e,c,h,n,o,l,o,g,i,e,s
c) Qualiyt,Point,Technologies
d) QualityPointTechnologies
Show Answer

January 17, 2011 at 1:16 pm Leave a comment

HTML Quiz Questions and Answers

Find below MCQ (Multiple Choice) questions and Answers useful for learning HTML.

HTML QUESTIONS AND ANSWERS
1) Is it possible to set up a browser so it refuse pages that does not have a content rating meta tag?
a) Yes – many companies and parents actually do
b) No
c) Only with a cybersitter add on
Show Answer

2) When images are used as links they get a blue border.
a) Always
b) Never
c) Unless border is set to zero
Show Answer

January 17, 2011 at 1:12 pm Leave a comment

MySQL Quiz Questions and Answers

Find below MCQ (Multiple Choice) questions and Answers useful for learning MySQL.

You can put the below HTML code in your blog or website for linking into this page.<a href=”http://qualitypoint.blogspot.com/2010/01/mysql-quiz-questions-and-answers.html” title=”MySQL Quiz”>MySQL Quiz</a>

MYSQL QUESTIONS AND ANSWERS

1) MySQL runs on which operating systems?
a) Linux and Mac OS-X only
b) Any operating system at all
c) Unix, Linux, Windows and others
d) Unix and Linux only
Show Answer

2) To remove duplicate rows from the result set of a SELECT use the following keyword:
a) NO DUPLICATE
b) UNIQUE
c) DISTINCT
d) None of the above
Show Answer

Click here to view more Questions

January 17, 2011 at 1:08 pm Leave a comment

Handling Date format in MySQL

Recently, I came to know about a website http://www.mysqlformatdate.com/ which will be useful for understanding and using a MySQL function DATE_FORMAT().
DATE_FORMAT()function is used to display date/time data in different formats.
It takes two arguments, date and format.

To get more details click here

January 17, 2011 at 8:31 am Leave a comment


Tweets

 

January 2011
M T W T F S S
« Dec    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Blog Stats

  • 10,242 hits

QualityPoint on Twitter


Follow

Get every new post delivered to your Inbox.