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

  • Oracle aptitute test questions (18)
  • Oracle interview questions (484)
  • Oracle placement papers (2)
  • Oracle technical test questions (41)



Oracle Solaris General Interview Questions
Questions Answers Views Company eMail

different between UDP and TCP

2 2518

how many zones can be installed in server which has 4 processors?

1 3993

Post New Oracle Solaris General Interview Questions




Un-Answered Questions

Explain Availability check.

75


what is flexible and rigid footing?

568


what is the use of steel rods of 16mm or 20mm used for 4.45mts for closing gutter.one mate consumes how many kgs with a gap of 6inches.

532


What is an Access Point (AP)? Can it be also a client?

541


Hi QA, Do any QA's give us the detail status of review happening during the entire life cycle (if templates includes it will be very useful for us) ?

602


How to Get the time and date in Universal Time ?

620


how to calculate the mesh earth network resistance in such substation, is there any recommended resistance values with references , thanks!

862


tell me about a time when u had too many things to do and u were required opinion prioritized your talks

490


give eg of how I/P is used in control loops

632


how to use unicode data in vb6 regarding to telugu language, my output is in only telugu language

2301


Hi All, I am taking the SAP SD course and need some live case studies for my practice, can any one help me in this regard. You can mail it on my mail id: simkim4u@gmail.com Thanks, Sameer

568


If we spend a sum of Rs.10 Lacs towards Processing and Upfront fee for obtaining working capital term loan. can we treat this amount as a deferred revenue expenditure or not

508


What is differences between SCS-1,2 and 3

463


Anyone provide the oracle fin/scm definetions

836


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.

1461




Oracle Solaris General Interview Questions
  • C (21)
  • OOPS (2)
  • C++ General (2)
  • PHP (2)
  • Programming Languages AllOther (4)
  • CGI Perl (2)
  • JavaScript (1)
  • VB Script (1)
  • Networking Administration (1)
  • Oracle General (44)
  • Architecture (1)
  • Database Management (5)
  • Forms Reports (6)
  • Oracle AllOther (13)
  • SQL Server (11)
  • Sybase (1)
  • DB Administration (4)
  • SQL PLSQL (40)
  • Linux Commands (6)
  • Linux General (2)
  • Linux AllOther (4)
  • Unix Commands (2)
  • Unix AllOther (1)
  • Solaris General (2)
  • Operating Systems General Concepts (2)
  • Load Runner (1)
  • QTP (18)
  • Test Director (1)
  • Selenium (1)
  • Automation Testing AllOther (1)
  • Manual Testing (29)
  • QA Concepts (13)
  • Testing AllOther (5)
  • COBOL (2)
  • Core Java (16)
  • Advanced Java (2)
  • Struts (1)
  • J2EE (6)
  • Weblogic (6)
  • Middleware AllOther (1)
  • Business Objects (6)
  • Cognos (2)
  • Informatica (4)
  • Data Stage (1)
  • SAS (33)
  • Data Warehouse General (3)
  • HR Questions (2)
  • UML (1)
  • SAP Basis (1)
  • SAP FI CO (1)
  • SAP SRM (1)
  • PeopleSoft Administration (1)
  • Siebel (3)
  • ERP General (2)
  • Oracle Apps Technical (32)
  • Oracle Apps Financial (57)
  • Oracle Apps Manufacturing (3)
  • Oracle Apps HRMS (11)
  • Oracle Apps CRM (1)
  • Oracle Apps SCM (7)
  • Oracle Service Contracts (1)
  • Oracle Apps AllOther (1)
  • 3D Animation (1)
  • Image Processing General (1)
  • Civil Engineering (1)
  • Mechanical Engineering (1)
  • Electrical Engineering (2)
  • Electronics Communications (3)
  • Engineering AllOther (4)
  • Marketing Sales (5)
  • Finance (2)
  • Human Resources (2)
  • Non Technical (3)
  • Accounting General (1)
  • Accounting AllOther (4)
  • APPSC AllOther (3)
  • Everything Else AllOther (1)
  • General Aptitude (8)
  • Puzzles (9)
  • Placement Papers (2)
  • CISA Certification (2)
  • Oracle Certifications (12)
  • Australia Visa (1)
  • C Code (2)
  • J2SE Code (1)
  • Programming Code AllOther (1)
  • CAT (1)
  • Oracle Errors (15)