lecture 0 Flashcards
where bits are derived from?
bits are binary digits, 0 and 1, two possibilities
the only physical input of computer is
electricity
in computer science, what number do we start counting
Computer scientists and, in turn, computer programs,
typically start counting from zero, just because it makes sense
because when everything is off, you might as well call that zero.
But at least in the computing world now, we’ll generally, by convention,
what is a transistor?
A transistor is a semiconductor device used to amplify or switch electronic signals and electrical power. Transistors are one of the basic building blocks of modern electronics. It is composed of semiconductor material usually with at least three terminals for connection to an external circuit.
what decimal number represent capital letter “A”
- In binary it is 01000001. This is ASCII, the American Standard Code for Information Interchange
Nowadays, how many bits do computer use to represent a character?
8 bits, before it was 7
what is a byte?
1 byte is just 8 bits, so I can say 1 byte can represent a character.
how many characters ASCII can represent
2^8 = 256 characters
acronyms
acronyms
Are the members of your after-school club tripping over the name Student Parachuting League & Aerial Team? Why not use each word’s first letter to make an acronym, and call the club SPLAT? There, that’s better.
What do NASA, sonar, and scuba have in common? They are all acronyms. Not only does each letter come from the first letter of another word, but each group of letters is easy to pronounce as its own word. Though its roots are classic (acro means “tip” and nym means “name”), acronym is fairly new as English words go; it has only been around since the early 1940s.
Definitions of acronym
noun a word formed from the initial letters of the several words in the name
see more
what is a verb in programming language?
verbs are functions, a statement that gets the computer to do something.
what are the types of code
source code input in compiler to have machine code (binary digits)
terminal window , what is CLI is that similar to it
command line interface
in C, what is the long form of stdio.h
standard input output dot h
So standard io.h is just a very popular file
that is used in C programs that gives you the ability
to get input and output from the user.
what is the shorthand notation for Ls in C?
list
what is the symbol of an asterisk in C?
*
And that’s just a visual cue that that file is executable.