What is ASCII CODE | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

What is ASCII CODE

ASCII

21st May 2019, 2:17 PM
MD Salauddin
MD Salauddin - avatar
11 Answers
+ 9
ASCII stands for “American Standard Code for Information Interchange” As you may know, computers only work with HIGH(1) and LOW(0) electrical states, known as bits, with correspond to mathematical Base 2 numbers. Numbers are easy to store using bits, as for example, ‘8’ would be ‘1000’ at Base 2. But graphically, you don’t have ‘8’, neither ‘0’ or ‘1’, bits in fact are just states: “On” when powered, “Off” when not, so how could we display characters on a screen? Skipping how they did the screen printing itself, ASCII is a Code that tells to the display what he should print given an input. This Code output is, internally, a byte (8 bits) that are simple regular numbers at Base 2 (as ‘00001000’ stands for 8 at Base 10). So what ASCII in fact is: The mapping of Binary Numbers that correspond to Actions (that may be an action to Display a Graphical Representation of an Character or, for example, Remove Previous Character, as does Backspace - ASCII Code ‘00001000’)
21st May 2019, 3:12 PM
Kartikey Kumar
Kartikey Kumar - avatar
+ 8
If am wrong then please explain what is ASCII ASCII is a code for representing English characters as numbers, each letter of english alphabets is assigned a number ranging from 0 to 127. For example, the ASCII code for uppercase P is 80. In Java programming, we have two ways to find ASCII value of a character 1) By assigning a character to the int variable 2) By type casting character value as int
21st May 2019, 2:19 PM
MD Salauddin
MD Salauddin - avatar
+ 1
American Standard Code for Information Interchange (ASCII) 🙄 atoi fn converts ASCII to int (65--91 and 97-122) IMHO
22nd May 2019, 2:50 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
ASCII (American Standard Code for Information Interchange) is the most common format for text files in computers and on the Internet. In an ASCII file, each alphabetic, numeric, or special character is represented with a 7-bit binary number (a string of seven 0s or 1s). 128 possible characters are defined. Unix and DOS-based operating systems use ASCII for text files. Windows NT and 2000 uses a newer code, Unicode. IBM's S/390 systems use a proprietary 8-bit code called EBCDIC. Conversion programs allow different operating systems to change a file from one code to another. ASCII was developed by the American National Standards Institute (ANSI).
23rd May 2019, 6:04 AM
lalith
+ 1
yeah i tried making ascii art i dont know how to do it or make ascii animations but i tried
9th Dec 2019, 5:35 PM
jonathan shaul
jonathan shaul - avatar
+ 1
Computers understand only numbers, so every character has a numeric representation. The program you are given takes a character as input. Write a program to output its numeric value. Sample Input a Sample Output 97
2nd Feb 2023, 12:58 AM
Alalinga Fatawu Iddrisu
Alalinga Fatawu Iddrisu - avatar
+ 1
Casting Computers understand only numbers, so every character has a numeric representation. The program you are given takes a character as input. Write a program to output its numeric value. Sample Input a Sample Output 97 Is the java question and here is the answer; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner read = new Scanner(System.in); char a = read.next().charAt(0); //your code goes here int num=(int)a; System.out.println(num); } }
4th Aug 2023, 6:19 PM
Dilalalala
0
There is also ASCII art. Pictures drawn with just the standard ASCII text symbols. :)
22nd May 2019, 2:49 PM
Kebap
Kebap - avatar
0
ASCII stands for “American Standard Code for Information Interchange” As you may know, computers only work with HIGH(1) and LOW(0) electrical states, known as bits, with correspond to mathematical Base 2 numbers. Numbers are easy to store using bits, as for example, ‘8’ would be ‘1000’ at Base 2. But graphically, you don’t have ‘8’, neither ‘0’ or ‘1’, bits in fact are just states: “On” when powered, “Off” when not, so how could we display characters on a screen? Skipping how they did the screen printing itself, ASCII is a Code that tells to the display what he should print given an input. This Code output is, internally, a byte (8 bits) that are simple regular numbers at Base 2 (as ‘00001000’ stands for 8 at Base 10). So what ASCII in fact is: The mapping of Binary Numbers that correspond to Actions (that may be an action to Display a Graphical Representation of an Character or, for example, Remove Previous Character, as does Backspace - ASCII Code ‘00001000’) sourced: Internet
23rd May 2019, 1:28 AM
Ameer Wajid Ali
Ameer Wajid Ali - avatar
0
Computers understand only numbers, so every character has a numeric representation. The program you are given takes a character as input. Write a program to output its numeric value. Sample Input a Sample Output 97
3rd Apr 2023, 11:22 PM
Umar Siddiq Dombah
Umar Siddiq Dombah - avatar
0
ASCII - stands for American Standard Code for Information Interchange. It was marketed by US President Lyndon B Johnson, as a way to provide PC users a means to interact with a QWERTY Computer Keyboard.
4th Apr 2023, 4:00 AM
Sanjay Kamath
Sanjay Kamath - avatar