Code Snippets Interview Questions
Questions Answers Views Company eMail

What is XML Element?

391

What is a well formed XML document?

324

Which tag is used to find the version of XML and the syntax?

362

What is a valid XML document?

347

Write a Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

InterGraph,

502

Write a Program to truncate a given floating point value (e.g.16.25=16).

InterGraph,

517

Write a Program to find the sum of digits of a given number until the sum becomes a single digit.

InterGraph,

506

Write a Program to find whether the given number is a Armstrong number.

InterGraph,

523

Devise a program to implement the Fibonacci sequence.

Tech Mahindra,

527

Write a Program to find the number of words in a sentence.

InterGraph,

517

How can you print an address of a variable?

TCS,

501

Write a program to Print the Pascal triangle

InterGraph,

513

Write a Program for matrix multiplication.

InterGraph,

497

Write a Program to find the reverse of a given number.

InterGraph,

480

What output does the following code generate? Why? What output does it generate if you make A::Foo() a pure virtual function? class A { A() { this->Foo(); } virtual void Foo() { cout << "A::Foo()" << endl; } }; class B : public A { B() { this->Foo(); } virtual void Foo() { cout << "A::Foo()" << endl; } }; int main(int, char**) { A objectA; B objectB; return 0; }

629


Un-Answered Questions { Code Snippets }

how to test the orientation of the layout in android.to note any changes in the ui design when change orientation

2504


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

2666


how to Auto Scroll the page

1623


Can I replace HTML with XML?

344


How a web page can communicate with a web server while a user type characters in an input field.

1054






Give the code for Handling Mouse Events?

1869


how to get the User's Time of Day

1660


How we use ajax in asp.net through javaScript. Please givee me an example.

2492


What is XSNL?

341


I am configuring my anaconda file in linux, i want to use as kickstart file, in post installation how can i edit file or change the content of file and save it.

1930


Code for Using Keyboard Events?

2120


Write a simple encryption program using string function which apply the substitution method.

5527


Hi, I want the code to fetch multiple rows in REXX using RLX and CURSOR. Can anyone help me?

2034


Write code to add functions, which would work as get and put properties of a class?

485


communication between main window and new windows

1693