Monthly Archives: August 2017

QUICK ENQUIRY FORM



WHAT WILL HAPPEN WHEN YOU SUBMIT THIS FORM

  • After submitting the enquiry, you will be contacted by our team.
  • Payilagam Team will get to know about your training needs.
  • They will update you how could they help you.
  • Trainers(IT Professionals) may contact you if you need any clarification.
  • Your contact information will be kept highly confidential & not be shared to 3rd Parties.
Quick Enquiry

Software Testing – What I should focus?

This is the primary question – in Software Testing – What I should focus? for everybody who enters into Software Testing.  Here with, I have mentioned some of the major things which should be given enough importance while testing software. Files Related Testing: If we test downloading a File, We should test Special Characters in File Name allowed or not allowed Have enough space for downloading a file or not. File Name already exists or not. Date Related Testing: Leap Year Days and Non Leap Year Days Daylight Saving Time. If we use two different systems, time difference between those machines. Number Related Testing: Negative numbers permitted or not. Decimal values allowed or not. Commas and Dots are properly placed or not. Word Related Testing: Empty space is allowed or not. Leading Space / Trailing space allowed or not. Web Application Testing: Update any form in the web page and refresh the page. Verify updated information is present or not. Useful Links: http://validator.w3.org/ http://wave.webaim.org http://browsershots.org/ http://linter.structured-data.org/ http://xml.coverpages.org/css.html http://jigsaw.w3.org/css-validator/

By |August 31st, 2017|Blogs|0 Comments

Adding two byte/short values cannot store in same datatype

Hi Friends, Today we going to see about reason why two byte/short cannot be store in same datatype. In general, the value assign to variable can be convert into binary format. byte a = 5; byte b = 4; byte c = a + b; The line 3 will have compile error, even though the value is smaller its because, The value 5 is assign to variable ‘a’, it convert to 32 byte of binary format the value 4 is assign to variable ‘a’, it convert to 32 byte of binary format In order to perform the basic processing of data need 32 bits as per our CPU design. the output result data is also 32 bits, so it need 32 bits capable store datatype. int c= a+b;

By |August 26th, 2017|Blogs|0 Comments

Software Testing Interview Scenario Based Questions

Hi, we will discuss about various Software Testing Interview Scenario based questions here with.  In every software testing interview, the candidates will be requested to write test cases.  Usually, organizations will ask us write scenarios for which we know the functionality already. Eg.  Write test cases for pen, Please share test cases for a chair, etc.  The below are similar kind of questions but should be handled with some better understanding of Software Testing. Software Testing Interview Scenario Based Questions: In ATM Machine, you have to verify if incorrect PIN entered at the third time shows you “Account Locked” message.  The only condition is you have to test only the third time scenario alone (not first and second).  What will be the best approach to test this scenario? You have antivirus software installed.  This software expires in two days where your office is leave for next three days.  How do you test this? There is a lift which stops only in 1st, 3rd and 5th Floors. In the lift entrance of 3rd floor, one person is waiting to go to 5th floor.  He presses ‘IN’ switch.  At the same time, another person is pressing ‘IN’ switch in 5th floor to move to 1st floor.  At this time, lift is moving from 1st floor.  Please write possible test cases for this scenario. In an application form, there are 3 Mandatory fields (Name, Mobile No and Mail ID) and 3 Optional fields.  How many possible test cases can be derived for this scenario? A Training institute has website which shows courses and their syllabuses.  The owner of the institute decides to include Online Quiz in the syllabus for the courses.  He needs a Quiz popup to be […]

By |August 21st, 2017|Blogs|0 Comments

Data Types: Storing character in integer and vice versa with Program

Hi Friends, Today, we are going to see about how to store character in ‘int’ variable and number in ‘char’ datatype. Let us see it through a sample program below. public class IntAndChar { public static void main(String[] args) { int a=’A’; char b=70; System.out.println(a); System.out.println(b); } } Output: 65 F this output can be possible because, ASCII              Character ——————————- 65                      A 66                      B 67                      C int a =’A’; ‘A’ convert into its 65(ASCII) and store into integer variable a. char b=70; 70(ASCII) convert into character ‘F’ and store into char variable b.

By |August 20th, 2017|Blogs|0 Comments

Find Even or Odd without using if and switch case

Hi Friends, Today, we are going to find Even or Odd Without using if and switch case.  The question asked here is – Write a program to find out if the given number is odd or even without using conditional statement like if or switch case. Solution : It is mentioned that We should not use if and switch case.  That is the clue we should remember here.  Hence, for finding out odd or even without those, we can go for array concept.  Let me try a simple Java program with a String array which consists of just two elements. Declare the two string values in the array with index o and 1. o => Even 1=> Odd Any number divide with two its give remainder as o or 1.  Thus, this remainder can be used in array index value. Program: public class EvenOdd { public static void main(String[] args) { String evenOdd[] = {“Even”,”Odd”};  // String array with only two elements int number = 3; int remainder= number % 2;  // remainder is calculated. System.out.println(evenOdd[remainder]); } } Output: Odd

By |August 13th, 2017|Blogs|0 Comments

Learn Programming through Logical Thinking Series – 12

Hi Guys, In this post, our intention is to create Z Pattern (see below).  Already in our previous posts, we learnt X and Y Patterns.  Here our focus would be on creating the below pattern. package pattern.aug; public class ZPattern { public static void main(String[] args) { // TODO Auto-generated method stub //1st line for(int i=0;i<5;i++) { System.out.print(“*”); } System.out.println(); //2nd line for(int i=0;i<3;i++) { System.out.print(” “); } System.out.print(“*”); System.out.println(); //3rd line for(int i=0;i<2;i++) { System.out.print(” “); } System.out.print(“*”); System.out.println(); //4th line for(int i=0;i<1;i++) { System.out.print(” “); } System.out.print(“*”); System.out.println(); //5th line for(int i=0;i<5;i++) { System.out.print(“*”); } } } Output: 

By |August 10th, 2017|Blogs|0 Comments

Learn Programming through Logical Thinking Series – 11

Shall we try Y Pattern today through a Java Program?  The need is, we should bring Program: package pattern.aug; public class Ypattern { public static void main(String[] args) { // TODO Auto-generated method stub //1stline System.out.print(“*”); for(int i=0;i<5;i++) { System.out.print(” “); } System.out.print(“*”); System.out.println(); //2nd line System.out.print(” “); System.out.print(“*”); for(int i=0;i<3;i++) { System.out.print(” “); } System.out.print(“*”); System.out.println(); //3rd line for(int i=0;i<2;i++) { System.out.print(” “); } System.out.print(“*”); System.out.print(” “); System.out.print(“*”); System.out.println(); //remaining lines int n=0; while(n<3){ int row=0; while(row<3-n) { System.out.print(” “); row++; } System.out.print(“*”); System.out.println(); n++; } } } Output:

By |August 10th, 2017|Blogs|0 Comments

Learn Programming through Logical Thinking Series – 10

Hi, In today’s post, we discuss about printing X pattern.  Already we know how to use looping statements in Java.  Here I am using while – nested while looping statements to derive X pattern.  The expected output is X Pattern Program public class XPattern { public static void main(String[] args) { int i=0,j; while(i<3){ j=0; while(j<(i*1)){ System.out.print(” “); j++; } int k=0; while(k<=(i-i)){ System.out.print(“*”); k++; } k=0; while(k<(4-(2*i))){ System.out.print(” “); k++; } k=0; while(k<=(i*0)){ System.out.print(“*”); k++; } System.out.println(); i++; } i=1; while(i>=0){ j=0; while(j<(i*1)){ System.out.print(” “); j++; } int k=0; while(k<=(i*0)){ System.out.print(“*”); k++; } k=4; while(k>(i*2)){ System.out.print(” “); k–; } j=0; while(j<=(i*0)){ System.out.print(“*”); j++; } System.out.println(); i–; } }} Output:

By |August 10th, 2017|Blogs|0 Comments

Learn Programming through Logical Thinking Series – 9

In this series, probably this could be the toughest program I ever tried.  Already our colleague Srilatha Akka shared the logic for this program in the previous post  in C Language to solve this problem.  Well, First of all – What is the problem to be solved?  Let me share you that! The above pattern should be printed.  I am sharing my logic here with for deriving the above pattern here with. ABCD Pattern Program in Java public class AsciiTry { public static void main(String[] args) { int i=0,j,k,r,s,l,m; while(i<5){ j=0; while(j<(i*1)){ System.out.print(” “); j++; } k=0; while(k<=(i*0)){ r=65+i; System.out.printf(“%c”,r); k++; } l=0; while(l<7-(i*2)){ System.out.print(” “); l++; } m=0; while(m<=(i*0)){ s=73-i; if(s==69) break; System.out.printf(“%c”,s); m++; } l=7; while(l>7-((i*2)-1)){ System.out.print(” “); l–; } k=0; while(k<=(i*0)){ r=73+i; if(r==73){ break; } System.out.printf(“%c”,r); k++; } l=0; while(l<7-(i*2)){ System.out.print(” “); l++; } m=0; while(m<=(i*0)){ s=81-i; if(s==77) break; System.out.printf(“%c”,s); m++; } l=7; while(l>7-((i*2)-1)){ System.out.print(” “); l–; } k=0; while(k<=(i*0)){ r=81+i; if(r==81) break; System.out.printf(“%c”,r); k++; } l=0; while(l<7-(i*2)){ System.out.print(” “); l++; } m=0; while(m<=(i*0)){ s=89-i; if(s==85) break; System.out.printf(“%c”,s); m++; } l=7; while(l>7-((i*2)-1)){ System.out.print(” “); l–; } k=0; while(k<=(i*0)){ r=89+i; if(r==89) break; if(r==91) break; if(r==92) break; if(r==93) break; System.out.printf(“%c”,r); k++; } System.out.println(); i++; } } }

By |August 6th, 2017|Blogs|0 Comments

Learn Programming through Logical Thinking Series – 8

This is one of the toughest questions, we discussed in our Programming class.  I spent almost 3 hours (or even more than that) to solve the below program.  My trainer asked to work on printing the below pattern program. I wrote in C language.  Please go through the program below.  As it is mainly dealing with looping statements, you can make use of the same logic in any programming language like Java, C#, etc. #include<stdio.h> #include<conio.h> void main() { int i,j,k,l,m,z=1,n,o,p,q,r,s,t,u,v,w; clrscr(); for(i=1;i<=5;i++) { for(j=1;j<i;j++) { printf(” “); } for(k=1;k<=z;k++) { printf(“%c”, i+64); } for(l=1;l<=9-(2*i);l++) { printf(” “); } for(m=1;m<=z;m++) { if(i==5){ break;} printf(“%c”, 74-i); } for(n=1;n<(2*i)-2;n++) { printf(” “); } for(o=1;o<=z;o++) { if(i==1){break;}; printf(“%c”,i+72); } for(p=1;p<=9-(2*i);p++) { printf(” “); } for(q=1;q<=z;q++) {  if(i==5){break;} printf(“%c”,82-i); } for(r=1;r<(2*i)-2;r++) { printf(” “); } for(s=1;s<=z;s++) { if(i==1){break;} printf(“%c”,i+80); } for(t=1;t<=9-(2*i);t++) { printf(” “); } for(u=1;u<=z;u++) { if(i==5){break;} printf(“%c”,90-i); } for(v=1;v<(2*i)-2;v++) { printf(” “); } for(w=1;w<=z;w++) { if(i==2){ printf(“%c”,i+88); }} printf(“\n”); } getch(); }

By |August 6th, 2017|Blogs|0 Comments