Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Topic :: Programs





Programs Interview Questions
Questions Answers Views Company eMail

Read the following program carefully and write the output of the program. Explain each line of code according to given numbering. #include #include #include #include 1……………… int main (void) { pid_t pid; 2………………………… pid = fork(); 3…………………………. if (pid > 0) { int i; 4………………………… for (i = 0; i < 5; i++) { 5………………… …………… printf(" I AM VU : %d\n", i); 6………………… …………… sleep(1); } exit(0); } 7………………… ……… else if (pid == 0) { int j; for (j = 0; j < 5; j++) { 8……………………………… printf(" I have no child: %d\n", j); sleep(1); } _exit(0); } else { 9………………………………fprintf(stderr, "can't fork, error %d\n", errno); 10……………… … ………… exit (EXIT_FAILURE); } }

1 4865

Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.

1 15143

What are u looking for MBA program

2 5017

Write a program that print in screen a tree with its height taken from user by entering number of 4 digits and find the odd numbers then calculate the sum of odd numbers so he get the height of tree?

3361

Write a program in Java to display the IP address of the local and remote machine.

Annamalai University,

2191

Create a program to read two random data set in two files named data1.txt and data2.txt manifold contains integer numbers, whereas data2.txt file contains the float type numbers. Simpanlahmasing each into 2 pieces of data that is an array of type integer array and an array of type float, then calculate the average numbers in the second array.

2609

Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

2001

write the prime number of program?in php

TCS,

2 11609

Write a programe print the sum of series 0,1,2,.....10

7 7622

which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 11772

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

HCL,

1 3971

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

HCL,

5 11503

Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.

2 15575

) Layout? What is the Dataset & Program Component Layout

TCL,

2 7535

How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?

CSC, IBM,

1 6743




Related Topics


Un-Answered Questions { Programs }

How will you make .NET programs work in Linux ?

2016


Discuss your Reward/Recognition programs?

2280


we have 10 concurrent programs under one request group out of 10 ccps all users submitting only 9 programs from srs window remaining one ccp for specific user how can it possible send me answer asap.

2510


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

2173


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

2057


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

2226


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

2166


name poneno dept sun 9894433467 computer This is the xls sheet a programs written to transfer this data into database write test cases and test scenario?

2377


WHAT ARE 19 MODELS OF EDUCATIONAL COUNSELLING? What is the most essentila thing that you consider while formulating any HR policy? In any consulting firm, the time devoted doesn't matter. all that matters is the productivity. What kind of HR and leave policy will you formulate to ensure discipline and time line working along with the increased productivity what is databank in recruitment process why u choose MBA after sicence bacground in graduation what is patent rights and copy rights what is the difference between direct investment and FDI what is the difference between direct investment and FDI what is the difference between patent rights and copy rights what is quality of work life What is KRA and KPI? Wat is recruitment & How is the Recruitment Scenario in todays global market? what is meant by managerial grid why did u select HR as your carrier what is sensex and nifty,what is the difference between those two what is the difference between CEO,MD,PRESIDENT,CHAIRMAN why do u select to do MBA in HR after doing B.Sc in physics? what is the performance management and what are the methods to use in evaluating performance? What is Learning? Please do make a reply to this question: I am bored taking interviews. Please motivate me in taking interview of yours. Trade Unions? what is sensex and nifty,what is the difference between those two What are Incentives? What is Fringe Benefits? What is Employee Morale? what are your positives and negatives as a HR? What is the best way to develop pay systems that are understandable, workable, and acceptable to employees at all levels? What is Coordination? What is the Difference between salary and wage? what is ur great weekness what is the importance of hr in the life of business? What is wages? What are the key issues that should be addressed in the design, conduct, and evaluation of training programs? where u see yourself after 10 years As jobs become more team-oriented, assessment centers will be used more often for non-management jobs. Do you agree or disagree? What is HRD? What did you like in your previous job? What is Fringe Benefits? What are the latest employee evalution trends? What is the Difference between salary and wage? why do u select to do MBA in HR after doing B.Sc in physics? What is HCN?s? what is the importance of hr in the life of business? How much do you think we should pay you?Do you know how much other companies are paying? What is the best way to develop pay systems that are understandable, Workable, and acceptable to employees at all levels? Difference between Training and Development? What is Different between Recruitment and Selection What is "mutual gains negotiation"? Selection means? Trade Unions? what is 360 degree performance appraisal? what is meant by an organisation,explain me differently What is On the Job Training? Management Guru,Professor Lallus Rail , a book was written by? What is Workers Compensation? why should i select you? Roles and Responsibilities of a HR ? How much do you think we should pay you?Do you know how much other companies are paying? In a room there are 3bulbs, and in the net room there are 3 switches. one can not see through the rooms, then how can you know that which switch is for which bulb with out taking any one's help? Define Motivation? What are the key issues that should be addressed in the design, conduct, and evaluation of training programs? What is "mutual gains negotiation"? what is Persoanl Management? What is HRM? What are Incentives?

7274


The OS is a program that uses various data structures. Like all programs in execution, you can determine the performance and other behavior of the OS by inspecting its state - the values stored in its data structures. In this part of the assignment, we study some aspects of the organization and behavior of a Linux system by observing values of kernel data structures exposed through the /proc virtual file system. The /proc virtual file system: Linux uses the /proc file system to collect information from kernel data structures. The /proc implementation provided with Linux can read many different kernel data structures. If you cd to /proc on a Linux machine, you will see a number of files and directories at that location. Files in this directory subtree each corresponds to some kernel data structure. The subdirectories with numeric names contain virtual files with information about the process whose process ID is the same as the directory name. Files in /proc can be read like ordinary ASCII files. You can open each file and read it using library routines such as fgets() or fscanf(). The proc (5) manual page explains the virtual files and their content available through the /proc file system. Requirements in detail: In this part, you are asked to write a program to report the behavior of the Linux kernel. Your program should run in two different versions. The default version should print the following values on stdout: • Processor type • Kernel version • The amount of memory configured into this computer • Amount of time since the system was last booted A second version of the program should run continuously and print lists of the following dynamic values (each value in the lists is the average over a specified interval): • The percentage of time the processor(s) spend in user mode, system mode, and the percentage of time the processor(s) are idle • The amount and percentage of available (or free) memory • The rate (number of sectors per second) of disk read/write in the system • The rate (number per second) of context switches in the kernel • The rate (number per second) of process creations in the system If your program (compiled executable) is called proc_parse, running it without any parameter should print out information required for the first version. Running it with two parameters "proc_parse " should print out information required for the second version. read_rate represents the time interval between two consecutive reads on the /proc file system. printout_rate indicates the time interval over which the average values should be calculated. Both read_rate and printout_rate are in seconds. For instance, proc_parse 2 60 should read kernel data structures once every two seconds. It should then print out averaged kernel statistics once a minute (average of 30 samples). The second version of your program doesn't need to terminate.

4907


Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?

2117


What is the technical flow associated with P2P or Procure to Pay cycle like the tables, APIs, concurrent programs involved in this cycle. Only technical please.

3932


How to draw the flowchart for structure programs?

9336


As per interoperatbility programs written in one language can be used by other language. How can we restrict the features of one language (say C#) in the programmer written in another language (say VB)..for example we have some features like operator overloading which is possible C#.NET (not in VB.NET), how can we restrict that when we are using this code in VB.NET.

1947


What if you are not accepted in the schools you are applying for? ifyou didn't get into any programs?

2182