Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question

In Java

Write a program that prints the 128-character ASCII table. It should print the table
in eight tab-separated columns. The first column contains a "Dec" heading (for
decimal number) with the numbers 0 through 31 below it. The second column
contains the ASCII characters associated with the numbers 0 through 31. The next
columns contain the subsequent numbers and associated ASCII characters. See the
below sample output for details. Be aware that that output was produced by a
program running in a console window in a Windows environment. If you run
your program in a different environment, the first 32 characters and the last
character will probably be different from what’s shown below.
Note that some characters display in a non-standard manner. For example, the
number 7 corresponds to a bell sound. You can’t see a sound, but you can see the
vacant spot for 7’s character in the below table. The number 8 corresponds to the
backspace character. You can’t see a backspace, but you can see how the number
8’s row is shifted left in the below table. That’s due to the backspace character
backspacing over one of the tab characters.
Sample output:
Dec Dec Dec Dec
--- --- --- ---
0 32 64 @ 96 `
1 ☺ 33 ! 65 A 97 a
2 ☻ 34 " 66 B 98 b
3 ♥ 35 # 67 C 99 c
4 ♦ 36 $ 68 D 100 d
5 ♣ 37 % 69 E 101 e
6 ♠ 38 & 70 F 102 f
7 39 ' 71 G 103 g
8 40 ( 72 H 104 h
9 41 ) 73 I 105 i
10
 42 * 74 J 106 j
11 ♂ 43 + 75 K 107 k
12 ♀ 44 , 76 L 108 l
 45 - 77 M 109 m
14 ♫ 46 . 78 N 110 n
15 ☼ 47 / 79 O 111 o
16 ► 48 0 80 P 112 p
17 ◄ 49 1 81 Q 113 q
18 ↕ 50 2 82 R 114 r
19 ‼ 51 3 83 S 115 s
20 ¶ 52 4 84 T 116 t
21 § 53 5 85 U 117 u
22 ▬ 54 6 86 V 118 v
23 ↨ 55 7 87 W 119 w
24 ↑ 56 8 88 X 120 x
25 ↓ 57 9 89 Y 121 y
26 → 58 : 90 Z 122 z
27 ← 59 ; 91 [ 123 {
28 ∟ 60 < 92 \ 124 |
29 ↔ 61 = 93 ] 125 }
30 ▲ 62 > 94 ^ 126 ~
31 ▼ 63 ? 95 _ 127 ⌂

Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education