nipesh..janghel


{ City } raipur
< Country > india
* Profession * student
User No # 29132
Total Questions Posted # 2
Total Answers Posted # 4

Total Answers Posted for My Questions # 5
Total Views for My Questions # 7923

Users Marked my Answers as Correct # 47
Users Marked my Answers as Wrong # 7
Questions / { nipesh..janghel }
Questions Answers Category Views Company eMail

what is function overloading..?

4 OOPS 4623

what is emacs editor and feature........???????????????????????????

1 Linux Commands 3300




Answers / { nipesh..janghel }

Question { TCS, 22095 }

Explain binary searching, Fibinocci search.


Answer

Binary Search
The binary search is the standard method for searching
through a sorted array. It is
much more efficient than a linear search, where we pass
through the array elements in
turn until the target is found. It does require that the
elements be in order.
The binary search repeatedly divides the array in two, each
time restricting the search to
the half that should contain the target element.
In this example, we search for the integer 5 in the 10-
element array below:

2 : 5 : 6 : 8 : 10 : 12 : 15 : 18 : 20 : 21

Loop 1 - Look at whole array
Low index = 0, high index = 9
Choose element with index (0+9)/2 = 4
Compare value (10) to target
10 is greater than 5, so the target must be in the lower
half of the array
Set high index = (4-1) = 3
Loop 2
Low index = 0, high index = 3
Choose element with index (0+3)/2 = 1
Compare value (5) to target
5 is equal to target
Target was found, index = 1

Is This Answer Correct ?    23 Yes 4 No

Question { 9031 }

How to create a .exrc file in vi editor?


Answer

Introduction

This article presents a sample .exrc file that can be used
by users of the vi editor. The .exrc file, located in your
home directory, is the startup (or configuration) file for
the vi editor.

The intent of this brief article is to show some of the
ways you can modify the configuration of the vi editor



Please note that the .exrc file contains commands that Vi
reads when you first run it. The default directory that Vi
looks in for the .exrc file is your home directory.
However, if you run Vi from another directory containing
a .exrc file, Vi will use the .exrc in that directory and
bypass the home directory .exrc. You must precede control
characters (like ^[ or ^M) with CONTROL-V. For example to
enter ^M, type CONTROL-V CONTROL-M.


Some important points for .exrc files:

Do not allow any blank lines in the file or processing will
stop on that line.
Comments are introduced by starting a line with a double
quote: "
All directives, whether options, abbreviations, or key
macros must all be typed on a single line. The listing
below has had the lines broken up for the sake of
readability.
Control characters like [tab],[linefeed],[escape] can be
inserted by first typing ^V (hold down Ctrl, and press V),
followed by the character. For instance, for [tab], hold
Ctrl and press V, release Ctrl, hit [tab]. You'll see ^I.
This is evident in the listing below.
For VIM the corresponsing file is .vimrc (_vimrc in case of
windows).
***********************************************************
Nipesh janghel
Nippucompu Dictionary developed

Is This Answer Correct ?    2 Yes 2 No


Question { 6514 }

what are the features of Linux?


Answer

From
Nipesh janghel
===========================================================
The following feature of linux:-
Some of its features include:
1)Virtual memory, allowing the system to use disk room the
same as RAM memory.

2)Networking with TCP/IP and other protocols.

3)Multiple user capability.

4)Protected mode so programs or user's can't access

5)unauthorized areas.

6)Shared libraries

7)True multitasking

8)X - A graphical user interface similar to windows, but
supports remote sessions over a network.

9)Advanced server functionality:-
FTP server
Telnet server
BOOTP server
DHCP server
Samba server
DNS server
SNMP services
Mail services
Network file sharing
much, much more...

Support of filesystems that other operating systems use
such as DOS (FAT), Windows95,98 (FAT32), Windows NT, 2000
(NTFS), Apple, minix, and others




Is This Answer Correct ?    14 Yes 0 No

Question { 12620 }

What are the basic commands in LINUX?


Answer

cat:-
create a file and Sends file contents to standard output.
This is a way to list the contents of short files to the
screen. It works well with piping.
============================================================
cd:-
Change directory
============================================================
cp:-
copy the file
============================================================
df:-
Show the amount of disk space used on each mounted
filesystem
============================================================

logout:-
Logs the current user off the system.
============================================================
mv:-
Move or rename files
============================================================
pwd:-
Show the name of the current working directory

Is This Answer Correct ?    8 Yes 1 No