1. What is a programming language?The media the programmer communicates with the computer.2. What is programming?Programmers make computers do what they want to do based on the syntax of a programming language, and the result is a bunch of files.3, why learn to program?Let the computer replace human work and become a Slave to mankind.4, the computer's five major components and functions, the composition of
write once disk.(**)A circle of tracks.The cylinder is actually the classification of the C disk D-disk.Sectors 512B per size6. Operating systemStart process1 Power-On2 bios-> Detection Hardware->cmos3 Find Startup Disk-"read the first sector 512B (understanding: 446 Boot Information 64 partition Information 2 end flag bit)4 Loading Bootloader5 Read OS kernel (take over BIOS task, control calculation)Summarize:Focus One: The three core components of the com
that facilitates the handling of programs and hardware, and some common programs that are used by all programsLibrary calls: Encapsulating system callsLiberal callKernel callSystem call(kernel receives requests from other programs)malloc (), free () two system calls requesting memory and freeing memoryPos:portable Operating System POSIXa rule ----- Portable Operating system specification, programs written on different platforms can be compatible with each othercompiling compilation links Execut
(Beginner)Minimal (production environment)8. Installation Attention DetailsALT+CTRL+F2 can be switched to the temporary command line during installationDrawing in Windows: Running MPsNetwork card settings can be automatically obtained or manually set (IP, subnet mask, gateway, DNS)Time setting interface removes "System clock uses UTC current time as GMT"Using a custom partitioning strategyInstalling the KDE environment in desktops9. Install VMware Tools (after downloading VMware Tools, the Cent
1. The computer hardware is based on the operating system, and then the application software. 2. The Python language processes the operating system and then completes hardware usage through the operating system. 3. Memory: data cannot be stored permanently, but the speed is fast. Hard Disk: permanent data storage, but slow 4. The operating system and application software are stored in the hard disk, and some programs of the operating system direct
Computer hardware can actually be more easily divided into CPU + memory +io devices. The three of them are through a bus to exchange data, and you know in the three CPU speed of the fastest, memory second, IO device third, to make the three coordination of communication requires a certain control.
2. our CPU has its own local bus, the same memory, the local bus through the motherboard of the South Bridge chip link together to communicate. North Brid
| | _inf = Max |x_i|$General P norm:| | x| | _p = (\sum_{i=1}^n x_i^p) ^1/p$Matrix norm:| | a| | _f = \sqrt{\sum_{i=1}^m \sum_{j = 1}^n a_ij^2 = \sqrt{tr (a^ta)}$The rank of the matrix:
$det (AB) = det (BA) $
$det (a^-1) = \frac{1}{\det (A)}$
$det (a^t) = det (A) $
$det (A) = 0$ when and only if $a$ is singular
Trace of the Matrix: the and of the diagonal elementsSpecial matrices:
Identity matrix: The diagonal element is 0 and the other element is 1
Diagona
1. Start Terminal
1 point Menu "application-attachment-terminal" command, open a terminal window;
2 out of a terminal window, the title bar is their own username and computer name, a cursor in the window flashing a flash, indicating that you can enter the command;
;
The above ~ represents its own home folder, $ represents the normal command prompt, and if it is a #, it is the administrator prompt;
2. Common commands
1 ls command, a
computer is loaded into memory and then handed to the CPU for operation.4. Input device: Data input into the computer (mouse, keyboard, scanner, microphone, camera are input devices. )5. Output device: Outputs the data (display, printer)6. Communication equipment: Network card (hardware necessary for Internet)Two. Software (consisting of programs and documents). For example, a photo, a resume, a piece of a
Computer Basics: Binary, octal, decimal, hex 2006-11-29 20:23
one or 10 binary number The decimal number is the most widely used counting system in daily life. The symbols that make up the decimal number have a total of 10 symbols such as 0,1,2,3,4,5,6,7,8,9, and we call these symbols digital.In decimal, each digit has a total of 10 0~9, so the base of the count is 10. More than 9 must be repres
details are not the same, you can run different systemsApi:application Programming Interface Application Programming Interface (programmer)CPU Architecture Type:X86X64Armm68000,m68k MotorolaPower IBMPowerPC Apple Motorola IBM co-developmentUltraSPARC SUNAlpha HPItanium CompaqWindowsLinux:Linus→linuxGnu/linuxUnix:System: (Bell Lab)AIX (IBM)Solaris (SUN)HP-UX (Hewlett-Packard)BSD: (BSRG) Berkeley System distributionNetBSDOpenbsdFreebsdMit:richard StallmanGnu:gnu is not Unix:Gpl:general Public Lic
Assume is s a string of lower case characters.Write A program This prints the longest substring of in s which the letters occur in alphabetical order. For example, if s = ‘azcbobobegghakl‘ , then your program should printLongest substring in alphabetical order Is:begghIn the case of ties, print the first substring. For example, if s = ‘abcbcd‘ , then your program should printLongest substring in alphabetical order IS:ABC# Paste Your code into this boxCount = 1result = S[0]While S:Newcount = 1New
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.