Notes, abstracts, papers, exams and problems of Computers

Sort by
Subject
Level

Comprehensive Guide to HTML Headings: Types, Usage, and SEO Optimization

Classified in Computers

Written at on English with a size of 2.25 KB.

Types of HTML Headings

HTML headings are classified into six levels, ranging from <h1> to <h6>, with <h1> representing the most important heading and <h6> the least important.

Usage of HTML Headings

Headings play a crucial role in structuring your web content and enhancing its readability. They help:

  • Organize content: Headings divide your content into logical sections, making it easier for users to navigate and understand.
  • Establish hierarchy: The different heading levels create a visual hierarchy, indicating the relative importance of each section.
  • Improve accessibility: Headings provide context and structure for screen readers, assisting users with disabilities.

SEO Optimization of HTML Headings

Headings are significant for... Continue reading "Comprehensive Guide to HTML Headings: Types, Usage, and SEO Optimization" »

Understanding Computer Architecture: System Bus, Address Bus, Data Bus, and Control Bus

Classified in Computers

Written at on English with a size of 38.71 KB.

System Bus (Data, Address, and Control Bus)

This network of wires or electronic pathways is called the 'Bus'. A system bus is a single computer bus that connects the major components of a computer system.

It combines the functions of:

  • Data Bus: Carries information.
  • Address Bus: Determines where information should be sent.
  • Control Bus: Determines the operation to be performed.

This technique was developed to reduce costs and improve modularity.

Z

Figure: System Bus

Address Bus

The address bus is a group of wires or lines used to transfer the addresses of memory or I/O devices.

  • It is unidirectional.
  • The width of the address bus determines the maximum addressing capacity, representing the largest address within memory that the bus can handle.
  • Addresses are
... Continue reading "Understanding Computer Architecture: System Bus, Address Bus, Data Bus, and Control Bus" »

Characteristics and Requirements of Programming Languages

Classified in Computers

Written at on English with a size of 2.75 KB.

A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely. Thousands of different programming languages have been created, mainly in the computer field, with many more being created every year. Most programming languages describe computation in an imperative style, i.e., as a sequence of commands.

Requirements and Objectives

A computer programming language is a language used to write computer programs, which involve a computer performing some kind of computation or algorithm and possibly control external devices such as printers, disk drives,... Continue reading "Characteristics and Requirements of Programming Languages" »

Tic-Tac-Toe Game Functions in C

Classified in Computers

Written at on English with a size of 7.68 KB.

#include <stdio.h>


// Name: Riya Patel, UWin No: 105159179
void printMenu()

{

printf("\n\nPress 'p' to print the tic-tac-toe board\n");


printf("Press 'c' to create a tic-tac-toe with some x and o cells\n");


printf("Press 't' to test if a tic-tac-toe board is valid or invalid\n");


printf("Press 'w' to predict winning cell for player x or o\n");


printf("Press 'e' to exit\n");


printf("Enter your choice: ");

}

void InitializeBoard(int m, int n, char board[][n])

{

int c = 1;
for (int i = 0; i < m; i++)

{

for (int j = 0; j < n; j++)

{

board[i][j] = c + '0';
c++;

} } }

void PrintBoard(int m, int n, char board[][n])

{

for (int i = 0; i < n; ++i)

{

for (int j = 0; j < n; j++)

{

j != 2 ? printf("%c |", board[i][j]) : printf("%c", board[i][j]
... Continue reading "Tic-Tac-Toe Game Functions in C" »

Fundamentals of Data Structures and Algorithms

Classified in Computers

Written at on English with a size of 2.05 KB.

Data Structure (Syllabus)

Semester & Branch: 3rd sem CSE/IT Teachers Assessment : 10 Marks
Theory: 4 Periods per Week Class Test : 20 Marks
Total Periods: 60 Periods per Semester End Semester Exam : 70 Marks
Examination: 3 Hours TOTAL MARKS : 100 Marks

Objective :

The effectiveness of implementation of any application in computer mainly depends on the that how effectively its information can be stored in the computer. For this purpose various -structures are used. This paper will expose the students to various fundamentals structures arrays, stacks, queues, trees etc. It will also expose the students to some fundamental, I/0 manipulation techniques like sorting, searching etc

1.0 INTRODUCTION: 04

  • 1.1 Explain Data, Information, data types
  • 1.2 Define
... Continue reading "Fundamentals of Data Structures and Algorithms" »

Www.Notes for human resource management in a business context 2/e

Classified in Computers

Written at on English with a size of 22.48 KB.


PROCESS: BASIC DATA STRUCTURE & SYSTEM CALLS
(CHAPTER 3)
1) What is a process?

Program in execution
2) What are Lightweight Processes in Linux?

Processes which can offer better support for Multithreaded applications.
3) Explain what is meant by multithreaded application. Describe how Multithreaded
Applications are implemented in linux. Give three examples of POSIX-compliant Pthread
Libraries.

A straightforward way to implement Multithreaded applications is to associate a lightweight process with each thread.

In this way, the threads can access the same Set of application data structures by simply sharing the same memory address Space, the same set of open files, and so on; at the same time, each thread can Be scheduled independently by the... Continue reading "Www.Notes for human resource management in a business context 2/e" »

Top-Down Design and Control Structures in Python

Classified in Computers

Written at on English with a size of 3.35 KB.

3/10/16 Notes

Chapter 7/8

Top-Down Design

Takes the most basic aspect of a program and breaks it down into subprograms.

Control Structure

An expression that determines the order in which a program executes.

In Python, this is an if statement.

It can also be a looping statement.

Boolean Expression

A "True or False" program statement.

Composite Data Types

Example:

  • numbers[0] = 1066
  • numbers[1] = 1492
  • numbers[2] = 999
  • numbers[3] = 553
  • numbers[4] = 1892

Example Code:

for i in range(3):
    print(numbers[i])

Arrays

When data is being read into an array, a counter is updated for each operation (e.g., for i in range(5)).

Sequential Search of an Unsorted Array

A sequential search examines each item in turn and compares it to the target item. If it matches, the item is found.... Continue reading "Top-Down Design and Control Structures in Python" »

Data Models, Schemas, and Database Normalization

Classified in Computers

Written at on English with a size of 3.46 KB.

Categories of Data Models

  • Entity: Represents a real-world object or concept.
  • Attribute:
    • Represents some property of interest.
    • Further describes an entity.
  • Relationship: Represents an association among two or more entities.
  • Entity-Relationship model
  • Relational data model: Used most frequently in traditional commercial DBMSs.
  • Object data model:
    • New family of higher-level implementation data models.
    • Closer to conceptual data models.
  • Physical data models: Describe how data is stored as files in the computer.
  • Access path: Structure that makes the search for particular database records efficient.
  • Index:
    • Example of an access path.
    • Allows direct access to data using an index term or a keyword.

Schemas, Instances, and Database State

  • Database schema: Description of a
... Continue reading "Data Models, Schemas, and Database Normalization" »

Introduction to Computing and Computer Systems

Classified in Computers

Written at on English with a size of 2.3 KB.

Computing

Computing is the automatic processing of information with computers.

Input and Output

Input: Data entered into the computer.
CPU: Processes the information.
Output: The processed information is displayed.

Binary System

Computers use the binary system (0 and 1).
Bit (b): Smallest unit of information (0 or 1).
Byte (B): Group of 8 bits. Example: 1010 0001
Characters are usually expressed with 1 B (8 bits).

Character Encoding

ASCII (American Standard Code for Information Interchange): Represents characters using binary code.
ISO-8859-1: An extension of ASCII, uses 1 byte for characters. Example: A = 0100 0001 (65), = 0111 1110 (126)

Hardware

The physical components of a computer.

Internal Components

  • Motherboard
  • CPU

External Devices (Peripherals)

  • Input:
... Continue reading "Introduction to Computing and Computer Systems" »

Software Testing and Debugging

Classified in Computers

Written at on English with a size of 4.52 KB.

SOFTWARE TESTING

Testing can only show the presence of errors, not their absence. The goal of testing is confidence.

  • Validation: Are we building the right product? What does the customer need?
  • Verification: Are we building the product right? Functional/Non-Functional requirements.

SOFTWARE INSPECTION VS. SOFTWARE TESTING

While inspection will go through the code without running the program, testing will run the program and look at the results. Incomplete programs can only be inspected, not tested. Inspections can control aspects of good software (maintainability…), not just the results.

TEST CASE:

  • Requirements
  • Data/Input
  • Actions
  • Expected Results

TEST CASE PRINCIPLES:

  • A test tries to find flaws in a program.
  • A good test case will show a possible defect
... Continue reading "Software Testing and Debugging" »