Code Snippets Interview Questions
Questions Answers Views Company eMail

Cau u say the output....?

1 833

could you please teach me how to program an income tax using functions

174

write a vb script to check equal two 2*2 matrix

431




How to get one hasmap value in another hashmap ,only value not key

CTS,

285

Write a script to delete all the files in a folder except one desired file.

306

I have multiple datasets and I have to search a particular string in all of them at a single time. Please suggest a full jcl or rexx tool for it.

190

#define a 10 int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } void foo() { #undef a #define a 50 }

2 368

#define a 10 void foo() { #undef a #define a 50 } int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } explain the answer

1 361

What is your nationality?

GoDB Tech,

1 411

#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

Student,

262

Do you think about CMM(Capability Maturity Model) process?

Amazon,

13

What is an attribute?

6

How can you apply a DTD to an XML document?

9

What is XML DOM?

8

What is XQuery?

11







Un-Answered Questions { Code Snippets }

program for straight line(y=mx+c)

4855


What are the benefits of XML?

7


What is a markup language?

9


How to Get File Extension?

424


Beautiful is for 012345678 9 and a code for similar word containing the same alphabets

1704






How to Split Strings with Regex in Managed C++ Applications?

2505


plzzzzzzzzz xplain this code import java.awt.*; import java.awt.event.*; public class Agency extends Frame implements ActionListener { Label l1,l2,l3,l4; Button b1; TextField t1,t2; String s1,s2,s3,s4; public static void main(String args[]) { new Agency().setVisible(true); } public Agency() { super("Gas Agency Package"); setSize(1280,800); setBackground(Color.lightGray); setLayout(null); // setLayout(new BorderLayout()); t1=new TextField(20); t1.setBounds(440,150,200,30); t1.setBackground(Color.white); t2=new TextField(20); t2.setBounds(440,180,200,30); t2.setBackground(Color.white); t2.setEchoChar('*'); l1=new Label("Gas Agency Package"); l1.setBounds(400,30,300,50); l1.setFont(new Font("TimesRoman",Font.BOLD,25)); l1.setAlignment(Label.CENTER); l2=new Label("Enter your ID and Passoword"); l2.setFont(new Font("TimesRoman",Font.BOLD,20)); l2.setBounds(270,80,300,50); l3=new Label("Enter ID"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l3.setBounds(270,150,120,50); l4=new Label("Enter Passoword"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l4.setBounds(270,180,140,50); add(l1); add(l2); add(l3); add(t1); add(l4); add(t2); b1=new Button("Login"); b1.setBackground(Color.white); b1.setBounds(400,280,100,70); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { s3="svce"; s4="svce"; s1=t1.getText(); s2=t2.getText(); if(s1.equals(s3) && s2.equals(s4)) { //System.out.println("password is correct"); MenuForm m= new MenuForm(); m.setVisible(true); //this.dispose(); } else { System.out.println("password not correct"); } this.dispose(); } } } plzzzzzzzzz xplain this code

1035


Cluster head selection in Wireless Sensor Network using C programming language.

2247


What is the functionality of SetForegroundWindow?

467


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

1967


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

1488


How to add flash or *.gif file in edit panel in java?

1534


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

1006


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.

1864


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

1383