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




CTS DB2 Interview Questions
Questions Answers Views Company eMail

Explain what a plan is?

3 4453

What is the physical storage length of each of the following DB2 data types: DATE, TIME, TIMESTAMP?

1 5973

What are the various locks available?

5 6708

What technique is used to retrieve data from more than one table in a single SQL statement?

9 7894

How can you quickly find out the number of rows updated after an update statement?

1 6668





What is sqlcode -811?

7 52316

Can we able to find all the Table names under a Particular Plan?

1 3786

I have some 3 particular fields ..i want to know which all tables have those 3 fields. Is there any way to identify.. can we know by quering system tables..

5 6504

wht are the restrictions for union ?

2 3489

where can we use index and subscript ? with example ?

3 7017

what is main use of table space and index object? please its urgent

5 9716

how can you copy records present in a flat physical file to a database file(physical file).please explain in rpg400 with a simple example

1 3038

In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.

5 12229

I have 1000 rows in a db2 table.I want to update first 100 records,How do I do it?

4 8711

How do I handle -911 (deadlock) error in a db2 program so that the program will never abend?

3 14622

Post New CTS DB2 Interview Questions



Un-Answered Questions

What are the key isssues that should be addressed in the design, conduct, and evaluation of training programs?

642


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

851


Who is an ideal team worker according to you?

1417


Please send me important interview questions with ans for 2 yeas exp Sap crm functional consultant.. in mty email id enakshisinhasap1@gmail.com

153


why did you choose MBA(in finance), while your graduation was B.Sc (in math)

181






please any one can explain the keyword driven framework. with gmail example.

839


How to Make relay co ordination chart for a Electrical power distribution of a plant

2412


Describe two SQR reports you can run to check the integrity of the database? 

316


Do encrypted files contain password in some form?

1011


What is servo motor and what are different types of servo motor

1056


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.

1557


Give me an example of a job where you had to work as a team

1081


what is the most important part of men only

762


What are the three main forms of enabling debugging in a shell script?

1579


At light load transformer efficiency is less because A secondary output is low B transformer losses are high C fixed loss is high compared to output D copper loss is small

1903






CTS DB2 Interview Questions
  • C (31)
  • STL (1)
  • OOPS (10)
  • C++ General (12)
  • ActiveX (1)
  • Delphi (1)
  • PHP (2)
  • Programming Languages AllOther (15)
  • JavaScript (2)
  • VB Script (2)
  • JSP (1)
  • Shell Script (2)
  • Ruby on Rails (1)
  • AngularJS (2)
  • UDP (1)
  • Networking Administration (2)
  • Networking AllOther (3)
  • Visual Basic (2)
  • C Sharp (8)
  • ASP.NET (22)
  • VB.NET (3)
  • COM+ (1)
  • IIS (1)
  • Crystal Reports (3)
  • BizTalk (1)
  • Dot Net Framework (2)
  • Dot Net General (5)
  • Microsoft Related AllOther (1)
  • Oracle General (11)
  • Architecture (1)
  • Database Management (2)
  • Oracle AllOther (1)
  • SQL Server (14)
  • MySQL (1)
  • DB Architecture (2)
  • DB Administration (6)
  • SQL PLSQL (17)
  • Databases AllOther (3)
  • Windows Threads (1)
  • Windows General (1)
  • Windows AllOther (5)
  • Linux Commands (2)
  • Linux Threads (1)
  • Unix Commands (8)
  • Unix AllOther (1)
  • Solaris Commands (4)
  • Solaris AllOther (2)
  • RTOS AllOther (1)
  • Operating Systems General Concepts (3)
  • Data Structures (2)
  • WinRunner (9)
  • Load Runner (11)
  • QTP (90)
  • Test Director (4)
  • Rational TestSuite (1)
  • Silk Test (2)
  • Automation Testing AllOther (4)
  • Manual Testing (145)
  • QA Concepts (12)
  • Mobile Testing (2)
  • Test Cases (12)
  • Test Documents Reporting (2)
  • Testing AllOther (9)
  • Servers AllOther (1)
  • COBOL (27)
  • JCL (19)
  • CICS (5)
  • DB2 (19)
  • IMS (1)
  • Natural (1)
  • MVS (3)
  • VSAM (6)
  • QSAM (1)
  • IBM MainFrame AllOther (4)
  • RPG400 (27)
  • DB400 (1)
  • IBM AS400 AllOther (17)
  • Core Java (41)
  • Advanced Java (1)
  • EJB (3)
  • Servlets (6)
  • Struts (6)
  • JDBC (7)
  • J2EE (3)
  • Weblogic (8)
  • Java Networking (2)
  • Java J2EE AllOther (5)
  • Java Related AllOther (2)
  • MQSeries (1)
  • Middleware AllOther (1)
  • HTML DHTML (2)
  • Web Related AllOther (5)
  • Teradata (8)
  • Business Objects (13)
  • Cognos (17)
  • Informatica (74)
  • Crystal Enterprise Suite (2)
  • Ab Initio (10)
  • Data Stage (40)
  • SAS (11)
  • Micro Strategy (1)
  • ETL (3)
  • Data Warehouse General (5)
  • HR Questions (21)
  • Design Patterns (1)
  • Project Management (1)
  • Version Control AllOther (2)
  • SAP Basis (8)
  • SAP ABAP (28)
  • SAP SD (14)
  • SAP MM (1)
  • SAP FI CO (24)
  • SAP CRM (1)
  • SAP SRM (4)
  • SAP Business Warehouse (3)
  • SAP Security (7)
  • SAP Business Objects BO BOBJ (2)
  • Siebel (2)
  • Oracle Apps Technical (7)
  • Oracle Apps Financial (1)
  • Cryptography General (1)
  • WebMethods (4)
  • SeeBeyond (17)
  • JCAPS (2)
  • Civil Engineering (1)
  • Mechanical Engineering (1)
  • Electrical Engineering (18)
  • Electronics Communications (22)
  • Aeronautical Engineering (1)
  • Industrial Engineering (1)
  • Engineering AllOther (3)
  • Business Administration (1)
  • Banking Finance (4)
  • Human Resources (1)
  • Business Management AllOther (1)
  • Audit (1)
  • CompanyAffairs CS (1)
  • Taxation (1)
  • Accounting General (5)
  • Accounting AllOther (11)
  • Call Centre AllOther (11)
  • UPSC Political Science (1)
  • RRB (1)
  • BSRB Clerical (1)
  • Group I (4)
  • Group II AllOther (1)
  • APPSC AllOther (2)
  • General Knowledge_Current Affairs (2)
  • Tourism Hotel AllOther (1)
  • Everything Else AllOther (4)
  • English (5)
  • General Aptitude (102)
  • Puzzles (10)
  • Placement Papers (28)
  • CCNA (4)
  • Sun Certifications (3)
  • CISA Certification (1)
  • Oracle Certifications (2)
  • Certifications AllOther (7)
  • H1B Visa (3)
  • L1 Visa (3)
  • USA Dependent Visa H4 Visa (1)
  • Australia Visa (1)
  • C Code (1)
  • C++ Code (2)
  • J2EE Code (1)
  • GATE (1)
  • IIT JEE (1)
  • MAT (1)
  • GMAT (1)
  • C C++ Errors (1)
  • Oracle Errors (4)
  • SQLServer Errors (1)