Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

  • ABC aptitute test questions (20)
  • ABC interview questions (563)
  • ABC placement papers (2)
  • ABC technical test questions (48)



ABC MFC Interview Questions
Questions Answers Views Company eMail

Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.

3 10096

Post New ABC MFC Interview Questions



Un-Answered Questions

Why do you need to parameterize fields in your virtual user script?

860


What happens to a line-frequency of high-frequency transformer when it is first energized/ re-energize?

1011


What is the engine rating required for 1000 KVA Generator set. Calculations?

1192


Project 2 - Magic Squares design2.txt - due 12/7 before 11:59 PM project2 - due 12/13, before 11:59 PM Orginally by Sue Evans Hit the space bar for next page The Objectives The purpose of this assignment is to give you practice with: recursion using command line arguments using the timing feature and file handling. The Background According to The Math Forum @ Drexel University, A Magic Square is an arrangement of the numbers 1 to n2 in an n x n matrix with each number occuring exactly once, and such that the sum of the entries of any row, any column, or any main diagonal is the same. It is not hard to show that this sum is n(n2 + 1)/2. The simplest magic square is the 1 x 1 magic square whose only entry is the number 1. 1 The next simplest is the 3 x 3 magic square. (8 + 1 + 6) or 3(32 + 1)/2 This is also just ONE of many examples for a 3 x 3 Magic Square!! This 3 x 3 square is definitely magic and satisfies the definition given above. There are 8 different arrangements of entries in a 3 x 3 matrix that fit the definition of a magic square. There are also magic squares of size 4 x 4, 5 x 5, etc. The Background - Continued For small n, say n <= 3, you could obviously sit down with pencil and paper and discover a magic square in a fairly short amount of time. Take a few minutes now and do that, remembering that each of the numbers, 1 through n2, appear only once in the square. Now try it for n = 4 ... Oh, there has to be a better way. :) Of course, the computer doesn't have a patience problem. It can solve the problem for us by using the brute force method. This means that the computer will accomplish its task by trying every single possible arrangement of the numbers in a square and check each of the resulting squares to see if it's a magic square. [6, 2, 7, 5, 4, 8, 3, 9, 1] [4, 2, 7, 6, 5, 8, 3, 9, 1] [7, 4, 2, 6, 5, 8, 3, 9, 1] ... The Task Your assignment will be to determine all of the magic squares when given an n, display permutations that match the magic squares to the screen AND write it to a file. You will only test when n == 3!!! But code it for n of ANY number!! It turns out that finding the magic squares for n >= 4 takes too long for us to run it on the shared machines (linux1, 2 & 3) Since if n == 1, the square is 1 (too easy!!) and since for n == 2 there is no answer!! Your program must come up with every possible arrangement (permutation) of numbers within the square. These are known as the permutations of that list of numbers. Each permutation needs to be checked to see if it has formed a magic square. Program Requirements Your program must: use command line arguments. At the command line the user must enter (in this order): the name of the executable file, n (which will ALWAYS be 3, but again could be run with other numbers) and the name of the output file in which to write the squares. use a recursive permute to give all of the permutations of the square. In other words, your function called "permute", must be a recursive function. So for each permutation, you should check to see if it is a magic square, display it and write it to the file write only the unique magic squares to the SCREEN and FILE. No duplicates allowed. HINT: Let your program produce duplicates first, then see how you can refrain from writing the duplicates. Then modify your code. use a list of size n2. The code for the recursive permute function will be much easier to write if you store the numbers in a list rather than a two-dimensional list (or array) of size n x n. How you print the data is not related. [6, 2, 7, 5, 4, 8, 3, 9, 1, ....] (size to n2) [4, 2, 7, 6, 5, 8, 3, 9, 1, ....] [7, 4, 2, 6, 5, 8, 3, 9, 1, ....] ... close any files that you have opened as soon as you have finished using them. Time how long your program takes to find the magic square and print that time at the end of the SAME file. Sample Run Here is a sample of output of this program. Please note that the sample output only shows what is expected from your program if the user is actually entering everything as instructed. This is not a test of the program at all, but just a sample for your clarification. 2 7 6 9 5 1 4 3 8 2 9 4 7 5 3 6 1 8 4 3 8 9 5 1 2 7 6 4 9 2 3 5 7 8 1 6 6 1 8 7 5 3 2 9 4 6 7 2 1 5 9 8 3 4 8 1 6 3 5 7 4 9 2 8 3 4 1 5 9 6 7 2 Total running time: 4.76 seconds.

1721


what are the advantages and disadvantages of empirical knowledge?

5971






lorteny method

805


write a program to find out the divisor of a given integer number. Sample input:50 Sample output:2,5,10,25

1233


what is controlling card in dcs? how u measure dcs memory?what is bus in dcs?how u know dcs speed n ehternet speed?

792


Is possible to create skid in dim,fact tables?

1050


SAP-HR --- why do we need symbolic account why can we not do the same through Wage type (I said symbolic account is used as as interface between Wage type and G/L account for posting payment to finance but I was not able to answer why can the same not be done through Wage type)

1906


Please clarify, 1. Is it required to lay two runs of GI wire along with Armoured LT cable if it is laid between one big mains (63Amps TPN SDF) to small main (32A TPN SDF) with proper glanding termination? 2. If the armoured cable with proper glanding is laid from DB to CNC machine, is it required to run two runs of body earthing to the Machine from DB? 3.If the armoured cable with proper glanding is laid from Substation to Hangar, distance is approx. 100 mtrs, is it required to do earthing at shop area though the primary termination at substation is earthed through gland.

882


What are the major components of Perf Test Report?

844


tell me one scenario where we go for idoc and WHy we go for idoc.

1101


What is normal radiation field out side the reactor building?

677


what is the diffrence between software and hardware language?

1120






ABC MFC Interview Questions
  • C (8)
  • C++ (1)
  • STL (1)
  • OOPS (2)
  • C++ General (2)
  • MFC (1)
  • PHP (3)
  • Programming Languages AllOther (2)
  • CGI Perl (2)
  • JavaScript (1)
  • SNMP (1)
  • TCP IP (1)
  • Networking AllOther (3)
  • Visual Basic (4)
  • C Sharp (3)
  • ASP.NET (9)
  • VB.NET (3)
  • ADO.NET (1)
  • IIS (1)
  • BizTalk (1)
  • Dot Net Framework (3)
  • Dot Net WindowsForms (1)
  • Dot Net General (1)
  • Exchange Server (2)
  • WCF (1)
  • Oracle General (2)
  • Forms Reports (2)
  • SQL Server (14)
  • MySQL (2)
  • SQL PLSQL (4)
  • Windows AllOther (2)
  • Unix Commands (1)
  • Unix General (1)
  • Unix AllOther (1)
  • Solaris General (1)
  • Data Structures (1)
  • WinRunner (1)
  • Load Runner (3)
  • QTP (12)
  • Test Director (2)
  • Rational TestSuite (1)
  • Automation Testing AllOther (1)
  • Manual Testing (26)
  • QA Concepts (3)
  • Mobile Testing (1)
  • Test Cases (10)
  • Test Documents Reporting (3)
  • Testing AllOther (4)
  • Apache (1)
  • COBOL (3)
  • JCL (2)
  • DB400 (1)
  • Core Java (8)
  • Advanced Java (2)
  • Servlets (3)
  • HTML DHTML (2)
  • XML XSLT RSS (3)
  • Flash Action Scripting (1)
  • Cognos (1)
  • Informatica (4)
  • Data Stage (3)
  • SAS (2)
  • ETL (1)
  • Data Warehouse General (2)
  • HR Questions (2)
  • Design Patterns (2)
  • UML (1)
  • OOAD (1)
  • Project Planning (3)
  • Project Management (1)
  • Telecom Routers Switches (1)
  • SAP Basis (8)
  • SAP ABAP (4)
  • SAPScript (1)
  • SAP MM (2)
  • SAP PM (1)
  • SAP FI CO (6)
  • SAP HR (9)
  • SAP CRM (1)
  • SAP Security (4)
  • SAP Netweaver (3)
  • SAP B1 (1)
  • SAP AllOther (1)
  • Oracle Apps Financial (6)
  • Oracle Apps HRMS (1)
  • Software Quality Analysis (1)
  • Bio Technology (2)
  • Zoology (1)
  • General Physics (1)
  • Organic Chemistry (1)
  • Analytical Chemistry (2)
  • General Science (1)
  • Civil Engineering (16)
  • Mechanical Engineering (3)
  • Electrical Engineering (49)
  • Electronics Communications (8)
  • Chemical Engineering (2)
  • Instrumentation (1)
  • Power Plant Engineering (1)
  • Engineering AllOther (3)
  • Business Administration (1)
  • Marketing Sales (6)
  • Banking Finance (5)
  • Human Resources (6)
  • Personnel Management (2)
  • Industrial Management (2)
  • IT Management (4)
  • Business Management AllOther (2)
  • Audit (5)
  • CompanyAffairs CS (2)
  • Taxation (50)
  • Accounting General (42)
  • Accounting AllOther (34)
  • Advertising Media AllOther (1)
  • Architecture Design AllOther (2)
  • Call Centre AllOther (13)
  • UPSC General Studies (1)
  • SSC General Science (1)
  • SSC General Studies (1)
  • SSC AllOther (2)
  • POs (1)
  • BSRB Clerical (3)
  • BSRB AllOther (1)
  • Group I (2)
  • APPSC AllOther (6)
  • General Knowledge_Current Affairs (12)
  • Government AllOther (4)
  • Law AllOther (3)
  • Tourism Hotel AllOther (2)
  • Funny Interview Questions (1)
  • Everything Else AllOther (7)
  • English (4)
  • General Aptitude (9)
  • Puzzles (3)
  • Placement Papers (2)
  • CCNA (1)
  • CISA Certification (2)
  • ISTQB Certification (3)
  • Certifications AllOther (3)
  • H1B Visa (6)
  • USA Student Visa F1 Visa (2)
  • L1 Visa (4)
  • USA Visitor Visa B2 Visa (1)
  • USA Business Visa B1 Visa (3)
  • USA Fiance Visa K1 Visa (1)
  • USA Dependent Visa H4 Visa (1)
  • C Code (1)
  • C++ Code (5)
  • ADO.NET Code (1)
  • JavaScript Code (1)
  • GATE (1)
  • CAT (1)
  • MAT (1)
  • GMAT (1)
  • OPENMAT (1)
  • ICET (1)
  • Oracle Errors (3)
  • Scripts Errors (1)