ADVANCE DATA HANDLING CONCEPTS

It is a topic on Chapter 8 in the book Programming logic and Design, Comprehensive, 8th edition by Joyce Farrel.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 UNDERSTANDING THE NEED FOR SORTING DATA

Go down 
Go to page : 1, 2  Next
AuthorMessage
Anna
Admin
avatar

Posts : 8
Join date : 2018-08-08
Age : 20

PostSubject: UNDERSTANDING THE NEED FOR SORTING DATA   Thu Aug 16, 2018 12:21 pm

Sequential order – Placed in order based on the value of some field
Alphabetical or numerical – Ascending order (arranging records from A to Z or lowest to highest) – Descending order (arranging records from Z to A or highest to lowest)



When computers sort data :
– Always use numeric values when making comparisons between values
– Letters are translated into numbers using coding schemes such as ASCII, Unicode, or EBCDIC • “B” is numerically one greater than “A” • “y” is numerically one less than “z”
– Whether “A” is represented by a number that is greater or smaller than the number representing “a” depends on your system
Professional programmers might never have to write a program that sorts data
– Organizations can purchase prewritten sorting programs
– Many popular language compilers come with built-in methods that can sort data for you • Beneficial to understand the sorting process
Back to top Go down
View user profile http://annabermudez.forumotion.asia
ahnmaria
Guru


Posts : 10
Join date : 2018-08-28

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Tue Aug 28, 2018 12:24 pm

What is the meaning of ASCII?
Back to top Go down
View user profile
ahnmaria
Guru


Posts : 10
Join date : 2018-08-28

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Tue Aug 28, 2018 12:25 pm

Thank you for this discussion, its short but very meaningful. Nice one!
Back to top Go down
View user profile
ahnmaria
Guru


Posts : 10
Join date : 2018-08-28

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Tue Aug 28, 2018 12:26 pm

What is the difference between sequential and chronological order?
Back to top Go down
View user profile
VOVOFRIEND

avatar

Posts : 5
Join date : 2018-08-28

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Tue Aug 28, 2018 1:12 pm

ahnmaria wrote:
What is the difference between sequential and chronological order?
Sequential ; Something that is sequential follows a fixed order and thus forms a pattern. ex. The pages are numbered sequentially.
Chronological ; If things are described or shown in chronological order, they are described or shown in the order in which they happened. It relates to the timings of the happenings.
Back to top Go down
View user profile
VOVOFRIEND

avatar

Posts : 5
Join date : 2018-08-28

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Tue Aug 28, 2018 1:13 pm

ahnmaria wrote:
What is the meaning of ASCII?
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.
Back to top Go down
View user profile
chelsey
Guru


Posts : 10
Join date : 2018-08-23

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 08, 2018 2:41 pm

ASCII uses 7 bits to represent each character. For example, a capital "T" is represented by the number 84 and a lowercase "t" is represented by 116. Other keyboard keys are also mapped to standard ASCII values
Back to top Go down
View user profile
chelsey
Guru


Posts : 10
Join date : 2018-08-23

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 08, 2018 2:42 pm

Data Structure - Sorting Techniques. Sorting refers to arranging data in a particular format. Sorting algorithm specifies the way to arrange data in a particular order.
Back to top Go down
View user profile
chelsey
Guru


Posts : 10
Join date : 2018-08-23

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 08, 2018 2:44 pm

Anna wrote:
Sequential order – Placed in order based on the value of some field
Alphabetical or numerical – Ascending order (arranging records from A to Z or lowest to highest) – Descending order (arranging records from Z to A or highest to lowest)



When computers sort data :
– Always use numeric values when making comparisons between values
– Letters are translated into numbers using coding schemes such as ASCII, Unicode, or EBCDIC • “B” is numerically one greater than “A” • “y” is numerically one less than “z”
– Whether “A” is represented by a number that is greater or smaller than the number representing “a” depends on your system
Professional programmers might never have to write a program that sorts data
– Organizations can purchase prewritten sorting programs
– Many popular language compilers come with built-in methods that can sort data for you • Beneficial to understand the sorting process

.
Sequential programming involves a consecutive and ordered execution of processes one after another
Back to top Go down
View user profile
ralfh
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 2:42 pm

ahnmaria wrote:
What is the meaning of ASCII?
Character data is represented in a computer by using standardized numeric codes which have been developed. The most widely accepted code is called the American Standard Code for Information Interchange ( ASCII). The ASCII code associates an integer value for each symbol in the character set, such as letters, digits, punctuation marks, special characters, and control characters.
Back to top Go down
View user profile
ralfh
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 2:42 pm

ralfh wrote:
ahnmaria wrote:
What is the meaning of ASCII?
Character data is represented in a computer by using standardized numeric codes which have been developed. The most widely accepted code is called the American Standard Code for Information Interchange ( ASCII). The ASCII code associates an integer value for each symbol in the character set, such as letters, digits, punctuation marks, special characters, and control characters.
Some implementations use other codes for representing characters, but we will use ASCII since it is the most widely used. The ASCII characters and their decimal code values are shown in Table 4.2. Of course, the internal machine representation of characters is in equivalent binary form.
Back to top Go down
View user profile
ralfh
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 2:44 pm

ahnmaria wrote:
What is the difference between sequential and chronological order?
actually there is no difference because it is same that sort data but maybe sequence is about having a descending or ascending of any type of character and chronological is about numbers only.
Back to top Go down
View user profile
rachellgrace
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 3:01 pm

ralfh wrote:
ahnmaria wrote:
What is the meaning of ASCII?
Character data is represented in a computer by using standardized numeric codes which have been developed. The most widely accepted code is called the American Standard Code for Information Interchange ( ASCII). The ASCII code associates an integer value for each symbol in the character set, such as letters, digits, punctuation marks, special characters, and control characters.
The ASCII table has 128 characters, with values from 0 through 127. Thus, 7 bits are sufficient to represent a character in ASCII; however, most computers typically reserve 1 byte, (8 bits), for an ASCII character.
Back to top Go down
View user profile
rachellgrace
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 3:03 pm

ralfh wrote:
ralfh wrote:
ahnmaria wrote:
What is the meaning of ASCII?
Character data is represented in a computer by using standardized numeric codes which have been developed. The most widely accepted code is called the American Standard Code for Information Interchange ( ASCII). The ASCII code associates an integer value for each symbol in the character set, such as letters, digits, punctuation marks, special characters, and control characters.
Some implementations use other codes for representing characters, but we will use ASCII since it is the most widely used. The ASCII characters and their decimal code values are shown in Table 4.2. Of course, the internal machine representation of characters is in equivalent binary form.
I have a link that will help you guys to better understand ASCII code
thank me later drunken
Back to top Go down
View user profile
rachellgrace
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 3:05 pm

ahnmaria wrote:
What is the difference between sequential and chronological order?
chronological has a number order and sequential has a sequence by condition given.
Back to top Go down
View user profile
rachellgrace
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 3:06 pm

Can you suggest guys another way of sorting data?
Back to top Go down
View user profile
Shiela
Guru


Posts : 10
Join date : 2018-08-28

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:04 pm

ahnmaria wrote:
What is the meaning of ASCII?
abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Most modern character-encoding schemes are based on ASCII, although they support many additional characters.
Back to top Go down
View user profile
Shiela
Guru


Posts : 10
Join date : 2018-08-28

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:06 pm

rachellgrace wrote:
ahnmaria wrote:
What is the difference between sequential and chronological order?
chronological has a number order and sequential has a sequence by condition given.
a little bit confusing haha but rachell got it right chronological is arranging things in order and sequence is often follows a numerical or alphabetical order, but it can also describe things that aren't numbered but still need to take place in a logical order, such as the sequential steps you follow for running a program on your computer.
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:15 pm

ahnmaria wrote:
What is the difference between sequential and chronological order?
there is no difference actually they are both the same function
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:16 pm

rachellgrace wrote:
Can you suggest guys another way of sorting data?
Yes me too is interested the other method of sorting
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:26 pm

Why it is important to use numerical values when comparing element?
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:28 pm

rachellgrace wrote:
Can you suggest guys another way of sorting data?
invented by Donald Shell
Algorithm

start separation = number of elements / 2
compare a[i] and a[i+separation]
swap if necessary
do for each element of array i = 0 to a.length – separation
set separation = separation /2
recompare all the elements

separation calculation

shell suggested /2
other sequences give great improvement
note figure 7.3 does not / 2 properly

Code Methods: shellsort
Average Case Shellsort : Open Problem
Back to top Go down
View user profile
rach
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:29 pm

rach wrote:
rachellgrace wrote:
Can you suggest guys another way of sorting data?
invented by Donald Shell
Algorithm

   start separation = number of elements / 2
   compare a[i] and a[i+separation]
   swap if necessary
   do for each element of array i = 0 to a.length – separation
   set separation = separation /2
   recompare all the elements

separation calculation

   shell suggested /2
   other sequences give great improvement
   note figure 7.3 does not / 2 properly

Code Methods: shellsort
Average Case Shellsort : Open Problem
credits to the website. pls visit codeworldtechnology.wordpress.com
Back to top Go down
View user profile
jennyy
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:41 pm

these would help in my program thank you!
Back to top Go down
View user profile
jennyy
Guru


Posts : 10
Join date : 2018-10-15

PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   Mon Oct 15, 2018 4:42 pm

rach wrote:
rach wrote:
rachellgrace wrote:
Can you suggest guys another way of sorting data?
invented by Donald Shell
Algorithm

   start separation = number of elements / 2
   compare a[i] and a[i+separation]
   swap if necessary
   do for each element of array i = 0 to a.length – separation
   set separation = separation /2
   recompare all the elements

separation calculation

   shell suggested /2
   other sequences give great improvement
   note figure 7.3 does not / 2 properly

Code Methods: shellsort
Average Case Shellsort : Open Problem
credits to the website. pls visit codeworldtechnology.wordpress.com
I have visited the website and it gives me 10 different sorting of data wow
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: UNDERSTANDING THE NEED FOR SORTING DATA   

Back to top Go down
 
UNDERSTANDING THE NEED FOR SORTING DATA
Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» Understanding the Marshall Attack (2010)
» Stuck on getting data centers?
» how to get map data back from maps already published yours and others
» *NEW METHOD* How to get your level data back from the broken http://droni.es/getdata.php?l=
» Translate the site

Permissions in this forum:You cannot reply to topics in this forum
ADVANCE DATA HANDLING CONCEPTS :: Algorithm-
Jump to: