background preloader

General Info

Facebook Twitter

Data rate units. Standards for unit symbols and prefixes[edit] To be as explicit as possible, both the prefix (M or Mi) and the unit (b or B) must be known. For example, the abbreviation 2 Mb can actually be expanded in 4 different ways (mega- vs mebi- and -bit vs -byte): The table above shows an approximate 5% difference between the corresponding mega- and mebi- prefixes, with an 800% difference between bit and byte units. Unit symbol: b vs B[edit] Prefix: k vs Ki[edit] k- stands for kilo, meaning 1,000, while Ki- stands for kilobinary ("kibi-"), meaning 1,024.

Variations[edit] In 1999, the International Electrotechnical Commission (IEC) published Amendment 2 to "IEC 60027-2: Letter symbols to be used in electrical technology – Part 2: Telecommunications and electronics. " Decimal multiples of bits[edit] These units are often used in a manner inconsistent with the IEC standard. Kilobit per second[edit] A kilobit per second – kbit/s, kbps, or kb/s – is a unit of data transfer rate equal to: 1,024 bits per second. Data Definition Language.

A data definition language or data description language (DDL) is a syntax similar to a computer programming language for defining data structures, especially database schemas. History[edit] SQL[edit] Many data description languages use a declarative syntax to define fields and data types. SQL, however, uses a collection of imperative verbs whose effect is to modify the schema of the database by adding, changing, or deleting definitions of tables or other objects. These statements can be freely mixed with other SQL statements, so the DDL is not truly a separate language.

CREATE statements[edit] Create - To make a new database, table, index, or stored procedure. CREATE TABLE statement[edit] A commonly used CREATE command is the CREATE TABLE command. CREATE TABLE [table name] ( [column definitions] ) [table parameters]. column definitions: A comma-separated list consisting of any of the following For example, the command to create a table named employees with a few sample columns would be: Ask a question - Telerik Academy Forums.

Recent questions - Telerik Academy Forums. Бройна система. Бройната система е символичен метод за представяне на числата посредством ограничен брой символи, наречени цифри. Съществуват два вида бройни системи - непозиционни и позиционни. Непозиционни бройни системи[редактиране | edit source] Непозиционната бройна система е тази, при която стойността на цифрата не зависи от нейното място в записването на числото. Такива бройни системи са римската, гръцката, милетската бройна система и др. В римската бройна система използваните цифри са М (1000), D (500), C (100), L (50), X (10), V (5), I (1). Там действа правилото: Когато тези знаци са написани в намаляващ ред на стойностите им, стойностите им се събират, а когато по-малък числов знак стои пред по-голям, стойностите им се изваждат - например IV = 5 - 1. Гръцката бройна система, използвана главно за практически задачи, е десетична система с групиране по петици. Милетската бройна система е била предназначена за научни пресмятания и за означаване на цифрите са използвани 24 гръцки и 3 еврейски букви.

Бройна система. Упражнение №1 Бройни системи Бройната система е метод за представяне на произволно число последством ограничен набор от символи наречени цифри. Съществуват два вида бройни системи Непозиционна бройна система Непозиционната бройна система е тази, при която стойността на цифрата не зависи от нейното място в поредицата. Позиционна бройна система Позиционна бройна система е тази, при която стойността на цифрата се определя от нейното място в поредицата. В общия случай за числата в бройна система с основа Q: където Qk и Q−k са теглата на съответните цифри, a k — тяхната позиция в записа на числото. Най-често използвани бройни системи: * Десетична бройна система - цифри: 0,1,2,3,4,5,6,7,8,915210 = 2.100 + 5.101 + 1.102 =152 * Двоична бройна система - цифри: 0,1 101112 = 1.20 + 1.21 + 1.22 + 0.23 + 1.24 = 1+2+4+16 = 23 В един байт могат да се запишат числа от 0 до 255.

Въпреки простотата си, двоичната система има един голям практически недостатък. 1. Преобразуване от двоична в десетична 1010011100b 1. 2. OSI модел. OSI (на английски: Open Systems Interconnection Basic Reference Model) е теоретичен модел, описващ принципния начин на комуникация и строежа на компютърните мрежи. Като главна градивна единица са използвани така наречените слоеве — всеки слой предоставя интерфейс и услуги към по-горния слой, като в същото време получава услуги от слоя под него. OSI моделът предоставя на производителите и разпространителите обща рамка, която да следват при проектиране на хардуера, операционните системи и протоколите, като дефинира стандартните спецификации за комуникация между системите. Информацията, изпращана по мрежата, е във вид на данни или пакети от данни.

Ако два сървъра (А и В) желаят да обменят информация, данните от предаващия А първо трябва да бъдат снабдени със служебна информация относно транспорта им и капсулирани (пакетирани). История[редактиране | edit source] През 1982 г. Еталонът на OSI е голяма крачка напред в създаване на концепцията за модерните мрежи. Слоеве[редактиране | edit source] Computer programming. Overview[edit] Within software engineering, programming (the implementation) is regarded as one phase in a software development process. There is an on-going debate on the extent to which the writing of programs is an art form, a craft, or an engineering discipline.[3] In general, good programming is considered to be the measured application of all three, with the goal of producing an efficient and evolvable software solution (the criteria for "efficient" and "evolvable" vary considerably).

The discipline differs from many other technical professions in that programmers, in general, do not need to be licensed or pass any standardized (or governmentally regulated) certification tests in order to call themselves "programmers" or even "software engineers. " Because the discipline covers many areas, which may or may not include critical applications, it is debatable whether licensing is required for the profession as a whole. History[edit] Some of the earliest computer programmers were women. Free IT quizzes and test to help you prepare for the real exam and job interview. Math God test. Definitions of the SI units: The binary prefixes. Prefixes for binary multiples In December 1998 the International Electrotechnical Commission (IEC), the leading international organization for worldwide standardization in electrotechnology, approved as an IEC International Standard names and symbols for prefixes for binary multiples for use in the fields of data processing and data transmission.

The prefixes are as follows: It is suggested that in English, the first syllable of the name of the binary-multiple prefix should be pronounced in the same way as the first syllable of the name of the corresponding SI prefix, and that the second syllable should be pronounced as "bee. " It is important to recognize that the new prefixes for binary multiples are not part of the International System of Units (SI), the modern metric system.

Historical context*Once upon a time, computer professionals noticed that 210 was very nearly equal to 1000 and started using the SI prefix "kilo" to mean 1024. Return to SI prefixes. Why learn programming? - Getting Started with Programming. Windows Development. The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location. This documentation provides info about developing applications and drivers for the Windows operating system. The Win32 and COM application programming interface (API) were designed primarily for development in C and C++, and support development for both 32- and 64-bit Windows. You can also develop Windows Store apps. Www.math.bas.bg/talents/bg/it/Competition_IT_Olympiad_BG.pdf.

Bit Twiddling Hacks. By Sean Eron Anderson seander@cs.stanford.edu Individually, the code snippets here are in the public domain (unless otherwise noted) — feel free to use them however you please. The aggregate collection and descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and without even the implied warranty of merchantability or fitness for a particular purpose.

As of May 5, 2005, all the code has been tested thoroughly. Thousands of people have read it. Contents About the operation counting methodology When totaling the number of operations for algorithms here, any C operator is counted as one operation. Compute the sign of an integer The last expression above evaluates to sign = v >> 31 for 32-bit integers. Alternatively, if you prefer the result be either -1 or +1, then use: sign = +1 | (v >> (sizeof(int) * CHAR_BIT - 1)); // if v < 0 then -1, else +1 sign = (v !

Patented variation: f = v && ! Sean A. Изчисления в облак. Изчисление в облак - логическа диаграма Изчисления в облак (на английски: Cloud computing) е предоставянето на компютърни (изчислителни) услуги, а не на продукт (за разграничение между услуга и продукт виж статията за услуга). Това е термин от областта на информационните технологии, означаващ използването на споделени ресурси, софтуер и информация, като предоставяни на компютри и други устройства по мрежа (чрез Интернет). Терминът съвместява понятия като софтуер като услуга (software as a service, SaaS), инфраструктура като услуга (infrastructure as a service, IaaS), платформа като услуга (platform as a service, PaaS) и други съвременни технологии, които под формата на онлайн бизнес приложения, достъпни през уеб браузър, задоволяват изчислителни потребности докато съхраняват софтуера и потребителските данни на свои сървъри.

Характеристики и икономически аспекти[редактиране | edit source] Други източници предлагат и други характеристики на изчисленията в облак.[4] Електронен учебен курс по информационни технологии за 9 клас. Въведение в информационните технологии. Бройни системи и преобразуване. Бройни системи и преобразуване понеделник, 10 Февруари 2003 0:00ч Най-общо бройната система бихме могли да определим като съвкупност от графични знакове и правила за представяне на числата. През различните епохи на историческото развитие на човечеството са използвани множество различни бройни системи, като най-широко разпространение днес има арабската. При нея за изобразяване на естествените числа се използват един или повече от графичните знакове 0, 1, 2, 3, 4, 5, 6, 7, 8 и 9, наричани цифри. (Следва да се отбележи, че съвременното графично изображение на цифрите в арабския свят се отличава от посочените по-горе десет графични знака, макар че става въпрос за същата бройна система.)

Броят на цифрите, използвани за записване на числата, ще наричаме основа на системата. Така например арабската бройна система е десетична (използва 10 цифри). Void reverse(char *pch){ char *pEnd; for (pEnd = pch + strlen(pch) - 1; pch < pEnd; pch++, pEnd—) { char c = *pch; *pch = *pEnd; *pEnd = c; }} Windows Registry. When first introduced with Windows 3.1, the Windows registry's primary purpose was to store configuration information for COM-based components. With the introduction of Windows 95 and Windows NT, its use was extended to tidy up the profusion of per-program INI files that had previously been used to store configuration settings for Windows programs.[1][2] It is not a requirement for a Windows application to use the Windows Registry—for example, the .NET Framework applications use XML files for configuration, while portable applications usually keep their configuration data within files in the directory/folder where the application executable resides.

Rationale[edit] Prior to the Registry, .INI files stored each program's settings into a text file, often located in a shared location that did not allow for user-specific settings in a multi-user scenario. As the registry is constructed as a database, it offers improved system integrity with features such as atomic updates. Structure[edit] Ideone.com | Online IDE & Debugging Tool >> C/C++, Java, PHP, Python, Perl and 40+ compilers and intepreters. Insertion Sort - Sorting Algorithm Animations. Algorithm for i = 2:n, for (k = i; k > 1 and a[k] < a[k-1]; k--) swap a[k,k-1] → invariant: a[1..i] is sorted end Properties Stable O(1) extra space O(n2) comparisons and swaps Adaptive: O(n) time when nearly sorted Very low overhead Discussion Although it is one of the elementary sorting algorithms with O(n2) worst-case time, insertion sort is the algorithm of choice either when the data is nearly sorted (because it is adaptive) or when the problem size is small (because it has low overhead).

For these reasons, and because it is also stable, insertion sort is often used as the recursive base case (when the problem size is small) for higher overhead divide-and-conquer sorting algorithms, such as merge sort or quick sort. Directions Click on above to restart the animations in a row, a column, or the entire table. Key Black values are sorted. References Algorithms in Java, Parts 1-4, 3rd edition by Robert Sedgewick. Programming Pearls by Jon Bentley. Sorting Out Sorting, Ronald M. Programirane _1.pdf.