Home
About
Testimonial
Courses
Contact
Login
Free Sign Up
Google
3i Infotech
ABB
Accenture
Adobe
Agilent
Akamai
Amazon
Amdocs
Aricent
More
Arista Networks
Courses
Ashok Leyland
Aspire
Aspiring-Minds
AT-Kearney
Atos
Axtria
Bechtel
BEL
BHEL
Birlasoft
Black-Rock
Blackstone
Boston Consulting Group
BPCL
Cadence
Cairn
Calsoft
Capgemini
C-DAC
CGI
Cisco
Coal India
CoCubes
Cognizant
CommScope
Convergys
Cordys
CSC
Cummins
Dell
Deloitte
DE-Shaw
Deutsche-Bank
E & Y
eBay
Ericsson
Essar
EXL
Expedia
Facebook
Fidelity
Flextronics
Flipkart
Future-First
G.E
General-Motors
Genpact
Globallogic
Godrej
Goldman-Sachs
Grapecity
HAL
HCL Technologies
Hewlett Packard
Hexaware
Honeywell
HPCL
Huawei
Hughes Systique
IBM
Impetus
INautix
Infogain
Informatica
Infosys
Integreon
Intergraph
IOCL
ITC
Ittiam
John Deere
JP-Morgan
KPMG
L and T infotech
L&T ECC
Lion Bridge
Mahindra & Mahindra
Mahindra-Comviva
Makemytrip
MAQ-Software
Maruti
Mazars-LLP
Mcafee
MicroFocus
Microsoft
Mindtree
Miracle Soft
Motorola
Mphasis
Musigma
Myntra
Nagarro-Software
Newgen
NHPC
NIIT-Technologies
Nokia
Nucleus-Software
Nutanix
ONGC
ORACLE
Paxcel
Paytm
PayPal
Polaris Software
Practo
Punj Lloyd
PWC
Qualcomm
Reliance Industries
Robert Bosch
Sail
Saint-Gobain
SAMSUNG
Sandisk
SAP
Sapient
SBI
Schneider
Schlumberger
Siemens
SML-ISUZU
Snapdeal
Sony
StMicroelectronics
Sutherland
Syntel
Tata-Steel
Tavant-Technologies
TCS
Tech Mahindra
Thomson Reuters
Toyo Engineering
Verifone
Virtusa
Visa
VMware
Walmart
Wipro
Zensar
Zomato
ZS-Associates
Quant
Verbal
Reasoning
Data
Interview
Question Bank
Careers
InfoZone
E-Library
GK
Vocab
Puzzles
Quant
Verbal
Reasoning
Data
Interview
Question Bank
Careers
More
InfoZone
E-Library
GK
Vocab
Puzzles
Technical Questions asked in Google
Learn all about technical questions asked in Google
Views:9807
Instant Access to Free Material
What will be the output of following code fragment?
a=60;
b=70;
i=j=10;
if(a<100){
if(b>50){
++i ;
else
++j ;
}}
cout<< i+j;
21
19
20
None of the above
Answer & Explanation
Answer: Option A.
What is the error in the code?"
Char ch;
Int vowels=0,others=0;
Cin>> ch;
While((ch>= ‘A’ && ch <+ ‘Z’) || (ch>=’a’ && ch <= ‘z’)){
Switch(ch)
{
Case’a’:
Case’A’:
Case’e’:
Case’E’:
Case’i’:
Case’i’:
Case’o’:
Case’O’:
Case’u’:
Case’U’: ++vowels;
Break;
Default: ++others;
}}
Cout<< vowels<< ‘\n’<< others;
The while loop is an endless loop. Whatever value of ch has in the beginning, will remain the same, as ch is not updated within the loop.
There is no need to declare 'a' and 'A' and hence all other vowels gain in switch as it is case insensitive.
The switch statement’s two case constants are identical case 'i' and 'i' which is an error
More than one is correct from above.
Answer & Explanation
Answer: Option D.
Which of the following is not supported by Java?
Operator overloading
Multiple inheritances for classes
None of these
Both (a) and (b)
Answer & Explanation
Answer: Option D.
Which of the following are included in relational integrity constraints in DBMS?
Key constraints
Domain constraints
Referential integrity constraints
All of these
Answer & Explanation
Answer: Option D.
What is the output of the following program?
#include
-13,-130
33,330
-13,-130
-13,20
-13,20
33,330
None of these
Answer & Explanation
Answer: Option B.
Google Preparation Links
Technical Questions asked in Google
Careers in Google
Sample Aptitude Questions of Google
All About Google
Free Mock Google Placement Paper
Join free prep course for Google
Test Pattern & Selection Procedure of Google
Actual Google Interview Questions
Google Sample Verbal Questions
Google Reasoning Questions
Google Job Vacancies
Complete preparation course of Google
Views:9807
Most Popular Articles
Placement Papers of all major companies
List of IT Companies
Aptitude Questions of all Major Companies
Test Pattern of all major companies
Technical Questions of all major companies
List of Core Companies
Interview Questions of all major companies
All About GATE Entrance Exam
How to prepare for Aptitude Tests?
GATE Previous Year Papers