IBM Interview Question for Software Development Managers


Country: India




Comment hidden because of low score. Click to expand.
0
of 0 vote
Command line arguments are mainly used when some commands/programs need to be called from some other program. For example in a script, we may need a file copy operation, instead of writing our own code, better to use the commands supplied by the operating system. (For example {{{xcopy}}} in windows). to pass arguments to such commands, we use command line arguments. For {{{xcopy}} command we need to supply source files and destination directory as command line parameters - Ravi March 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

some of are i.e.
ftp
tftp
cp
telnet
rsh

& many more where command line argument required.

- kkmaurya March 02, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

When we need to start a service in the background and service is looking for any argument like properties file or flag then better to use command line argument rather then using code. OR script is script with arguments.

- Narendra March 05, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Command line arguments are used for providing run time options to your programme.
For example: ls -l
Here "ls" is a utility which gives current folder contents and "-l" is command line option to print long listing
so "-l" is a command line argument

- RaviKant March 15, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Command line programs are required where we do not want user interaction. This type situation happens when a program is launched from another program. Similarly, when user wants to run certain program periodically (like cron job). Mostly used to automate certain process without having user to interact everytime in order to execute program.

- unknown August 24, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Command line argument is required when you need a parameter value from user but you do not want the user to explicitly define it. Hence, we use cmd line argument when we want the value from outside rather than hard coding it inside the code.

- Khanak Nangia October 05, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Command line arguments are used when we want some parameter's value from outside rather than hard coding it inside the code. Basically, when do not want the value to be explicitly defined by the user but the value should be flexible and not hard coded.

- Khanak Nangia October 05, 2015 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More