English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

please,tell in detail,at least two -three lines for each.i h v to prepare the question for board exam which is on 28 mar.

2007-03-25 17:45:23 · 14 answers · asked by Anonymous in Computers & Internet Programming & Design

14 answers

Character is single letter-a is a character, A is a character, b is a character,,f ,B
Group of or a collection of various character is called as string
For example-
1)"hello" is a string
2)"how are you" is a string

Hope this helps a little!!!

All the best!!!

2007-03-25 17:50:32 · answer #1 · answered by And now I am a Mom 3 · 0 1

a character is just one character. The letter A is a character. It is usually compose of 8 bits or one byte. I don't know how it works now a days since a lot of languages use unicode and I have not venture into this real. Also, the numbers 0 to 9 are also characters A string is a group of characters put together. I think they may have to lie sequencialy in memory but don't quote me on this.

2007-03-25 17:51:19 · answer #2 · answered by mr_gees100_peas 6 · 0 1

A character is a usually 1 byte representation of alphabetical letters, numbers and other special characters that can be used in programming computers and outputting information to users. A string is a series of letters and characters or numbers or a null set that can be defined in an allocated place in computer memory. Strings are structured at a higher level than characters and consist themselves in characters and numbers.

2007-03-25 17:59:09 · answer #3 · answered by hjhprov 3 · 0 1

Not in computers but in computer science. And especially in programming languages. A character is a single entity or literal like for eg. char sex = 'M'; even if you do not enclose it within the quotes its ok. A string is a set of characters. like for e.g String text ="i am a student". Different programming languages have different syntax of defining them if you want to further clarify the thing go to www.freetechbooks.com or planetpdf.com you will for sure find some reference material of your choice. One more thing that i like to add "WHAT THE HECK HAVE YOU BEEN DOING FOR THE ENTIRE YEAR THAT YOU DON'T KNOW SOMETHING AS SIMPLE AS THIS"

2007-03-25 23:31:16 · answer #4 · answered by mind_freak 1 · 0 0

A character is a single bit of text - 'a' is a character. 'An apple.' is a string, made up of 9 characters.

I don't mean to sound negative, but if your exam is in 2 days and you don't know the difference between a character and a string... you're pretty much screwed. Maybe you should look into postponing it, and studying for real.

2007-03-25 17:49:51 · answer #5 · answered by Rex M 6 · 0 2

A character is a literal which occupies just 1 byte of space.
A string is a stream or array of characters.

By the way, you are preparing question for some weird board and you don't know what is a string and character???? How ridiculous!!!!! How did they ask you to make questions??

2007-03-25 17:50:17 · answer #6 · answered by Anonymous · 1 2

A charater means a single character, like A, B, 1, 2, *, and so on. A STRING is one or more characters that are "strung together" and are followed by a null byte, that is, by a byte or octet that has all its bits set to zero.

2007-03-25 17:50:35 · answer #7 · answered by DadOnline 6 · 0 1

a character is any letter according to the program definition. it might be anything from a-z.0-9 and include special characters also.

a string is usually a combination of characters(single character also). could be a name, etc and usually starts only with an alphabet and can contain numbers also

2007-03-25 17:59:12 · answer #8 · answered by give me more 1 · 0 1

a string is an ordered sequence of characters. A Character is a set of symbols coded in ASCCI or EBCDIC Code. Thet are binary data equivalent for each character you see in key board and some other characters like control characters.

2007-03-25 17:52:31 · answer #9 · answered by FC Arsenal Fan 2 · 0 2

A character is a single letter/number/symbol.

A string is a group of characters.

2007-03-25 17:50:42 · answer #10 · answered by Logan K 1 · 0 2

fedest.com, questions and answers