cheat sheet

Lecture 12: Database Programming

Overview:
Covers how SQL is used in host languages like C and Java using Embedded SQL, Dynamic SQL, JDBC, and SQLJ. Demonstrates how to connect to a database, declare host variables, retrieve data using cursors, and execute dynamic queries.

Embedded SQL (C Example):
EXEC SQL BEGIN DECLARE SECTION;
int sid;
char sname[20];
EXEC SQL END DECLARE SECTION;
EXEC SQL SELECT name INTO :sname FROM Sailors WHERE sid = :sid;

- :sname is a host variable used inside SQL.
- SQLSTATE

...

See on Student Notes »

BBM h

What is 'Surrogate Advertising'? How is It Beneficial in the Indian Context?

In the world of advertising, not all products can be promoted openly due to legal, ethical, or social restrictions. To bypass these limitations, companies use a strategy known as Surrogate Advertising.


2. Meaning of Surrogate Advertising

Surrogate Advertising refers to the practice of promoting a banned or restricted product (like alcohol, cigarettes, or tobacco) under the guise of another product from the

...

See on Wikiteka »

ssssssssss

Mein Lieblingsfilm ist Toy Story zwei. Der Regisseur dieses Films ist John Lasseter. Es wurde vom
Studio Disney Pixar herausgegeben. Es ist ein Animationsfilm für Kinder. Dieser Film ist sehr
abenteuerlich, rührend und lehrreich. Ich mag ihn seit meiner Kindheit.
Toy Story ist eine Geschichte über Spielzeuge, die Andy gehören. Diese Spielzeuge sind lebendig.
Andy geht ins Sommercamp und lässt die Spielzeuge zu Hause. Ein Spielzeugsammler stiehlt Woody
und will ihn in ein Museum stellen. In seinem

...

See on Wikiteka »

Final 424

Contingency Planning: the overall planning for unexpected adverse events;Business Impact Analysis (BIA): Investigation and assessment of the impact that adverse events may have on an organization, assumes the worst has already happened and decisions are made;results inform IR, DR, and BC decision-- Maximum Tolerable Downtime (MTD): The total amount of disruption time the organization is willing to accept, Maximum length of time a business function can be inoperable without harm to the business;

...

See on Student Notes »

Financas

O Tribunal de Contas é o órgão supremo de fiscalização da legalidade das despesas públicas em Portugal, conforme expressamente consagrado no artigo 214.º da Constituição da República Portuguesa (CRP). Trata-se de um órgão independente e de natureza jurisdicional, cujas competências visam garantir o rigor, a legalidade, a eficiência e a responsabilidade na gestão financeira dos recursos públicos. A sua função central é assegurar que o dinheiro público seja utilizado de forma lícita,

...

See on Wikiteka »

Mobile Computing

WAP (Wireless Application Protocol) is a set of protocols designed for wireless devices (like mobile phones and PDAs) to access internet services. It uses a client-server model, with the mobile device acting as the client and a WAP gateway/web server as the server. WAP optimizes content for low bandwidth, small screens, and limited processing power.

WAP Model Layers: (Make also diagram)

Application Layer: Includes Wireless Application Environment (WAE), mobile device specs, and content languages

...

See on Student Notes »

Sociol

1. Functions of the Family

The family plays a vital role in both individual development and social organization. These functions are broadly classified into the following categories:

A.. Socialization Function

Families are the first agents of socialization. Children learn values, customs, traditions, manners, and cultural practices from their family. Through interaction with parents and siblings, children develop language, identity, and social skil

.c. Emotional Function

The family provides love,...

See on Wikiteka »

BBM 2nd

Explain the different types of pricing policies and practices used by marketers.


1. Introduction

Pricing policy refers to the approach or strategy a company uses to price its products or services. It plays a critical role in determining a firm's market position, profitability, competitiveness, and customer perception.

Marketers adopt different pricing practices based on the product type, market conditions, consumer behavior, and business objectives.


2. Importance of Pricing Policy

...

See on Student Notes »

Bailya

What are the features of Business?

Ans
The key features of a business generally include the following:

1.Economic Activity: Business is primarily an economic activity involving the production and distribution of goods and services to satisfy human needs and earn profits.

2.Profit Motive: One of the main goals of a business is to earn profits. Profit acts as a reward for the risk and effort involved.

3.Risk and Uncertainty: Every business involves some degree of risk and uncertainty due to changing

...

See on Wikiteka »