Notes, summaries, assignments, exams, and problems for Computers

Sort by
Subject
Level

JavaScript Cheat Sheet: Arrays, Functions, Objects & More

Classified in Computers

Written on in English with a size of 4.2 KB

JavaScript Cheat Sheet

JavaScript Arrays

var cars = ["Mercedes", "Tesla","Volvo"];

  • pop(): Removes the last element of an array.
  • push(): Adds a new element at the end of an array.
  • concat(): Joins various arrays into a single array.
  • reverse(): Reverses the order of elements in an array.
  • indexOf(): Returns the first index of a given element in an array.
  • lastIndexOf(): Returns the last index of a given element in an array.
  • join(): Combines elements of an array into a single string.
  • sort(): Sorts array elements based on a condition.

Global Functions

These functions are built-in to every browser that runs JavaScript:

  • parseFloat(): Parses the argument and returns a floating-point number.
  • parseInt(): Parses the argument and returns an integer.
  • Number(): Returns a
... Continue reading "JavaScript Cheat Sheet: Arrays, Functions, Objects & More" »

Computer Hardware and Software Components

Classified in Computers

Written on in English with a size of 3.85 KB

Computer Hardware and Software Components

Computer hardware is the collection of physical elements that constitutes a computer system. It refers to the physical parts or components of a computer, such as the monitor, mouse, keyboard, etc. All of these are physical objects that can be touched. In contrast, software is a set of instructions that can be stored and run by hardware. Software is any set of machine-readable instructions that directs a computer's processor to perform specific operations. A combination of hardware and software forms a usable computing system.

Operating System (OS)

An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer programs. The operating

... Continue reading "Computer Hardware and Software Components" »

Understanding Operating Systems: File, Task, and User Management

Classified in Computers

Written on in English with a size of 2.74 KB

File Management

File management is the system an operating system uses to organize and keep track of data. The operating system stores data in units called files, determines how files are stored, efficiently uses available storage space, creates a record of all file usage, and carries out every task related to files and folders.

File names typically have this structure:

filename.extension

Task and User Management

Task Management

Task management is the part of the operating system that controls the running of one or more programs on a computer simultaneously. Today's widely used operating systems support multitasking, allowing multiple tasks to run concurrently, taking turns using the computer's resources.

User Management

With user management, the operating... Continue reading "Understanding Operating Systems: File, Task, and User Management" »

ASCII Code: American Standard Code for Information Interchange

Classified in Computers

Written on in English with a size of 2.91 KB

A code in which each alphanumeric character is represented as a number from 0 to 127, translated into a 7-bit binary code for the computer. Binary

Assembly language: A programming language that is once removed from a computer's machine language. Machine languages consist entirely of numbers.

Availability:

A measure of how easy or difficult it is to obtain a piece of hardware or a computer application

Backbone:

High-speed lines or connections that form the major access pathways within the Internet.

Bandwidth:

The capacity of a networked connection

Banner:

The title of a printed document which identifies it.

Batch processing:

System of processing data in groups at the same time without requiring instructions from the users

Baud:

The unit for measuring the... Continue reading "ASCII Code: American Standard Code for Information Interchange" »

C++ Loops and File Handling: A Deep Dive

Classified in Computers

Written on in English with a size of 4.31 KB

C++ Loops: While, Do-While, and For

While Loop Format

while (condition)
{
    statements(s);
}

How While Loop Works

If the condition is true, the statement(s) are evaluated again. If false, the loop is exited.

While Loop Example

int val = 5;
while (val >= 0)
{
    cout << val << " ";
    val = val - 1;
}

A while loop is a pretest loop (the condition is evaluated before the loop executes).

  • If the condition is initially false, the statement(s) in the body of the loop are never executed.
  • If the condition is initially true, the statement(s) in the body will continue to be executed until the condition becomes false.

The loop must contain code to allow the condition to eventually become false so the loop can be exited. Otherwise, you have... Continue reading "C++ Loops and File Handling: A Deep Dive" »

pene

Classified in Computers

Written on in English with a size of 4.98 KB

Adware is a type of free software supported by advertisements that showup in Pop-up windows or on a toolbar on your computer or browser. Mostadware is Annoying, but safe. But some is used to gather your personal information, track The websites you visit or even record your keystrokes. How to Recognize adware Your device is probably infected with adware if you Start seeing ads popping up in applications where you hadn't seen them before. Pop-ups can also show up on your computer's desktop even when you're not Browsing the Internet. Also, your browser's homepage may have been Changed. How to remove adware Before removing adware from your Device, be sure to back up any important files that you want to keep safe. Then Use antivirus or adware removal... Continue reading "pene" »

Understanding MapReduce Design Patterns

Classified in Computers

Written on in English with a size of 18.71 KB

MapReduce is a computing paradigm for processing data that resides on hundreds of computers, which has been popularized recently by Google, Hadoop, and many others. The paradigm is extraordinarily powerful, but it does not provide a general solution to what many are calling “big data,” so while it works particularly well on some problems, some are more challenging. This book will teach you what problems are amenable to the MapReduce paradigm, as well as how to use it effectively. At first glance, many people do not realize that MapReduce is more of a framework than a tool. You have to fit your solution into the framework of map and reduce, which in some situations might be challenging. MapReduce is not a feature, but rather a constraint.... Continue reading "Understanding MapReduce Design Patterns" »

Lost or Maybe Not

Classified in Computers

Written on in English with a size of 740 bytes

BD 2C 3B D

John Cravern

B 3D C D A B

The End of the World Train

BD 2C 2B 2D

Slvalbart

C 2D 2B A B C

Save the Animals

BD C B A C B D

Michael Pallin

D A B C A D C A

Ruth Manorama

B A C 2D A C D

A Better World

BC B A C D B D

A Champion on Two

2B A C 2B B C

Butter and Bread

BD 2C 2B D C

A Journalism

DB A B 2C B A

Vegetarianism

CD 2B A B D A

Smiling Indians

CD BAC ACB

Norwich

BD CD CB DC

The Best Advice

AC AC BC DA

Interview with a Scriptwriter

3B 2C A B C

An Interview with a Champion

3B 2C D A C


A Glossary of Computer and Internet Terms

Classified in Computers

Written on in English with a size of 3.71 KB

ASCII Code

American Standard Code for Information Interchange. A code in which each alphanumeric character is represented as a number from 0 to 127, translated into a 7-bit binary code for the computer. ASCII is used by most microcomputers and printers, and because of this, text-only files can be transferred easily between different kinds of computers.

Availability

A measure of how easy or difficult it is to obtain a piece of hardware or a computer application.

Backbone

High-speed lines or connections that form the major access pathways within the Internet.

Bandwidth

The capacity of a networked connection. Bandwidth determines how much data can be sent along the networked wires. Bandwidth is particularly important for Internet connections, since greater... Continue reading "A Glossary of Computer and Internet Terms" »

Understanding Networks: Advantages, Disadvantages, and Types

Classified in Computers

Written on in English with a size of 4.55 KB

Introducing Networks

A network is created when more than one device is connected together. A network can be a small collection of computers connected within a building (e.g. a school, business, or home) or it can be a wide collection of computers connected around the world.

Advantages

  • Communication – it is easy (and often free) to communicate using email, text messages, voice calls, and video calls.
  • Roaming – if information is stored on a network, it means users are not fixed to one place. They can use computers anywhere in the world to access their information.
  • Sharing information – it is easy to share files and information over a network. Music and video files, for instance, can be stored on one device and shared across many computers, so
... Continue reading "Understanding Networks: Advantages, Disadvantages, and Types" »