Contents
Chapter 2 · Information Processing SystemPractice

LEARN WITH HARU

Video Lesson တွေက Haru အတန်းသားတွေအတွက်ပါ

Haru ရဲ့ ITPEC FE Full Course မှာ ယခု သင်ခန်းစာတွေကို တစ်ခုချင်း တစ်ကြောင်းချင်း အသေးစိတ်ရှင််ရှင်းပြထားပါတယ်

အခြေခံ မရှိတဲ့ ကျောင်းသားများစွာဟာလည်း ဒီ Course နဲ့ ပဲ အောင်မြင်ကုန်ကြပါပြီ

အတန်းမအပ်သေးပဲ Haru ဆီမှာ အစမ်းသင်ကြည့်ချင်ပါသလား?

သင်တန်းသားတွေရဲ့ စကားသံများ

သင်တန်းသားတွေရဲ့ စကားသံများ

Highlighted text? Practice this concept. Highlighted passages and figures open related questions.

Practice related questions (1)Progress & bookmarks

Current section

4-2-2 Code Design

p. 159

Practice this section 1 linked exam question with default filters

Progress

Not marked complete

Related questions in this lesson 3

Code checking and check digits2Weighted check-digit calculation1
Progress and bookmarks

p. 159

4-2-2 Code Design

In the code design, the data to be coded is selected from the data items used within a system and a code table is created for each target.

p. 160

Original Four functions that a code is required to have box. Identification function maps to differentiation of data. Classification function maps to classification of data. Arrangement function maps to determination of data order. Check function maps to checking correctness of data when a redundant inspection bit is added. Each left label remains aligned with its original right description.
p. 160 · Enlarge
Code checking and check digits · 2 practice questions

As a principle, a code is mainly composed of numbers and letters. Although double byte characters (e.g., Kanji characters) are effective in enabling an easy understanding of the meaning of codes, they are not appropriate from the viewpoint of retention and maintenance. Typical types of codes are as follows:

  • • Sequence code
    It is a code that is assigned sequentially from the first item. Example: Prefecture code {01: Hokkaido, 02: Aomori prefecture, 03: Iwate prefecture, ···}
  • • Block code (Classification code)
    It is a code that is divided into several blocks, and a serial number is assigned in each block.
Original aligned University code example. 0** National University: 001 Tokyo University, 002 Hitotsubashi University. 1** Public University: 101 Tokyo Metropolitan University, 102 Yokohama City University. 2** Private University: 201 Meiji University, 202 Keio University. Original braces, stars, indentation and ellipses remain intact.
p. 160 · Enlarge
  • • Group classification code
    It is a code that imparts the meaning of major category, medium category, and minor category to each digit.
Original Member number example with aligned digit meanings. First digit: Type, 1 Individual member, 2 Corporate member. Second digit: Course, 1 Full time, 2 Daytime, 3 Nighttime. Third to fifth digit: Registration order number. Original note: 21006 is a corporate member undergoing a full-time course with registration order sixth. All source digit positions, meanings and note remain together.
p. 160 · Enlarge
  • • Mnemonic code
    It is a code that uses the name and abbreviation of the data to be coded. Example: Product code

p. 161

JP20CTV: 20-inch color TV made in Japan FR16MTV: 16-inch monochrome TV made in France

  • • Synthetic code
    It is a code in which several types of codes are combined together.

During code design, the following points should be considered.

  • • Scope of the code
    When there is a possibility that the code may be used in a system other than the target system, do not make the code design in view of only the target system. Basically, systems should be able to use the codes commonly. If there is an existing code or standard code, it should be put to use.
  • • Usage period of the code
    Depending on the usage period of codes, the number of necessary codes may be extremely large. For example, when the product code is designed on the basis of the sequence code and the current number of product types is 800, it is possible to code 1,000 types of products in three-digit numbers, which may not be a problem. However, if as many as 50 types of new products are developed every year, the codes will become insufficient after four years.
  • • Maintenance of codes
    The maintenance method of codes is also taken into consideration in the code design stage. Particularly, the codes table is decided in consideration of the person in charge of creation and the creation timing so that no contradiction occurs in data.
  • • Importance of the code
    In the case of a code of important data, it is necessary to add a check digit in order to prevent an input error by the operator.

p. 162

Original complete Check digit box. Modulus 10 example weights code 3612 by 5,4,3,2: 3×5+6×4+1×3+2×2=46. Dividing by 10 gives quotient 4, remainder 6, hence code 36126. The source mentions subtracting the remainder from 10 as another method. For erroneous code 36026, (3×5+6×4+0×3+2×2−6)÷10 gives quotient 3 and remainder 7, indicating an error. Heading, original explanation, equations, arrow, note and all digits remain intact.
p. 162 · Enlarge
Weighted check-digit calculation · 1 practice questions

Original chapter exercises

Original chapter exercises →

New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015