Interview Questions

How to Create an Executable Jar file

July 21, 2009 Java

Pre-requisites: JRE(any version above 1.2) JDK (any version above 1.2) This article demonstrates the creation of an executable jar file. This is a hands-on tutorial, I recommend you to follow the below mentioned steps practically instead of simply reading this tutorial. Step 1: Download Source Code (nodalo-src.zip) and Binary Classes (nodalo-bin.zip) of the sample Java [...]

2 comments Read the full article →

First Interview Experience of a Fresh Graduate

July 20, 2009 C

This is a recorded Interview conducted for a Job posting of Junior Software Engineer at a Multi National Company. The company’s core business is Information Technology outsourcing. The job requires competency in latest Computer technologies. The Company is also ready to train if they find enthusiastic and budding engineers. The interviewee, being a graduate of [...]

4 comments Read the full article →

How to install apache ant

July 14, 2009 Java

I recorded a video that demonstrates how to install Apache Ant Software on a windows machine. Apache Ant is a java based build tool. You may read the text instructions for installing ant. You may want to download Apache Ant Software.

0 comments Read the full article →

Answers to Twitter Live quiz-3 on C

July 9, 2009 C

This is a recorded twitter quiz. @ajlopez, won this quiz. More Details about this quiz Question1: In C statement, int _new_var; The variable name is not valid and it results in a compilation error. a)True or b)False? Answer: b)False In C language, variable names can start with _(underscore) or a letter but not a number. [...]

1 comment Read the full article →

Twitter Live Quiz on C language -3

July 9, 2009 C

What: Interview Mantra Quiz-3 is a live, interactive quiz on twitter and facebook. 10 multiple choice questions would be asked one after another. Answer to each question would be published within 5 minutes of posting. You need to reply to the question before the answer is published by the quiz master. Topics: C language – [...]

0 comments Read the full article →

Define vs declare a variable, formal vs actual arguments, getchar vs scanf, break vs continue

April 26, 2009 C

Question.61 (main function), Question.62 (define vs declare),Question.63 (formal vs actual arguments) test whether the candidate knows basics of C programming. Question.64 (getchar vs scanf) tests basics of io. Question.65 (break vs continue) tests whether candidate knows the subtle differences using ‘break’ and ‘continue’ in loops. <Previous Questions(55-60) | All C Language Interview Questions (61 to [...]

24 comments Read the full article →

C Interview Programs to print number patterns

April 8, 2009 C

This post has few of basic number pattern programs in C. Question.56(multiplication table) tests the ability to convert an elementary algorithm into a program. Question.57, Question.58 are programs that test the ability of candidate to use nested while/for loops to print special number patterns. Question.59, Question.60 test ability of using simple while/for loops and basics [...]

242 comments Read the full article →

C Interview Programs in Function Pointers, string functions, fibonacci numbers

February 1, 2009 C

Here are five challenging questions in C language. These are subset of frequently asked C interview questions in Interview Mantra. Question.51 is an advanced question that tests the ability to declare and use function pointers and array of function pointers. Question.52(simulation of strcmp), Question.53(simulation of strcat) test the knowledge of C standard library ‘stdio.h’ and [...]

20 comments Read the full article →

Download PDF

January 24, 2009 C

Why download C Question Bank? Best book to brush C concepts before Interview. Contains Questions asked in interviews of International Companies. All the questions are neatly answered  with examples. Contains tested & working code samples — not just Theory. Light weight ebook, contains 50 pages only. >>Download C Question Bank Interview Mantra is subscribed by [...]

51 comments Read the full article →

C Interview Questions- header file, string functions, iterative loops, array pointers, bitwise operators

January 19, 2009 C

Here is another set of challenging questions that could be asked in C language interviews. Interviewers and interviewees can use questions and answers in this blog as a reference guide before conducting/attending an interview. Question.46 is about basics of header files in C. It tests whether the candidate under test is aware of the best [...]

10 comments Read the full article →