Added content.

- Theory assignments
- Notes
- Practical
- Question Papers
- DISCLAIMER and motto files
Lastly, updated README.

Stored using LFS:
- Practical/Assignment-1/AWS EC2 - User Guide.pdf
- Practical/Assignment-3/Bank-App-Demo.mp4
- Practical/Assignment-3/Demo-3.mp4
- Practical/Assignment-3/Salesforce Apex - Reference Guide.pdf
This commit is contained in:
K
2025-06-11 16:56:28 +05:30
parent c0c311d52b
commit 4d1029dbdb
60 changed files with 534 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
Practical/Assignment-3/Bank-App-Demo.mp4 filter=lfs diff=lfs merge=lfs -text
Practical/Assignment-3/Demo-3.mp4 filter=lfs diff=lfs merge=lfs -text
Practical/Assignment-3/Salesforce[[:space:]]Apex[[:space:]]-[[:space:]]Reference[[:space:]]Guide.pdf filter=lfs diff=lfs merge=lfs -text
Practical/Assignment-1/AWS[[:space:]]EC2[[:space:]]-[[:space:]]User[[:space:]]Guide.pdf filter=lfs diff=lfs merge=lfs -text
Binary file not shown.
Binary file not shown.
+14
View File
@@ -0,0 +1,14 @@
# DISCLAIMER
Disclaimer for [CloudComputing](https://git.kska.io/sppu-te-comp-content/CloudComputing) repository under [sppu-te-comp-content](https://git.kska.io/sppu-te-comp-content) organization.
---
- Please be advised that this repository ([CloudComputing](https://git.kska.io/sppu-te-comp-content/CloudComputing)), its organization ([sppu-te-comp-content](https://git.kska.io/sppu-te-comp-content)), and all of its content are entirely independent and not associated to, and/or affiliated with SPPU (Savitrbai Phule Pune University, Pune) and/or any of its colleges, nor with [KSKA Git](https://git.kska.io). The materials provided within, including assignments from our contributors and notes from our professors, are solely for educational purposes and convenience.
- KSKA Git serves merely as a platform for this content and does not imply any association and/or endorsement from SPPU or KSKA Git. It is important to recognize that the organization (sppu-te-comp-content) and all of its repositories in KSKA Git operates independently, and any references to educational institutions or platforms are purely for informational clarity.
- Furthermore, it is emphasized that the content available within this repository remains meticulously curated to align with the latest 2019 SPPU syllabus for computer engineering. Our commitment to accuracy ensures that the materials provided reflect the current academic standards prescribed by SPPU, offering students a reliable resource to supplement their studies.
---
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,47 @@
# Steps to install KVM
---
1. Check if virtualization is enabled.
```shell
cat /proc/cpuinfo | grep -Ec '(vmx|svm)'
```
In this command, we are printing the contents of `/proc/cpuinfo`, then using grep for pattern matching. `vmx` is the name for Intel's virtualization and `svm` is AMD's. If the output is 0, virtualization is disabled in BIOS, otherwise it's on.
2. Install required packages
```shell
sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt-clients
```
- qemu-kvm An opensource emulator and virtualization package that provides hardware emulation.
- virt-manager A Qt-based graphical interface for managing virtual machines via the libvirt daemon.
- libvirt-daemon-system A package that provides configuration files required to run the libvirt daemon.
- virtinst A set of command-line utilities for provisioning and modifying virtual machines.
- libvirt-clients A set of client-side libraries and APIs for managing and controlling virtual machines & hypervisors from the command line.
3. Start and enable virtualization daemon
```shell
sudo systemctl enable libvirtd
sudo systemctl start libvirtd
sudo systemctl status libvirtd
```
> [!TIP]
> After viewing status of the `libvirtd` service, press `q` to exit out of the view.
4. Add user to KVM and libvirt group
```shell
sudo usermod -aG kvm $USER
sudo usermod -aG libvirt $USER
```
5. Launch KVM Virtual Machine Manager from App Launcher.
6. `QEMU/KVM` should show _connecting_ followed by _connected_ in the app. Now, you can launch as many virtual machines as you want!
---
Binary file not shown.
Binary file not shown.
+173
View File
@@ -0,0 +1,173 @@
# Bank Application using Apex
Problem Statement: Create Bank application in SalesForce.com using Apex programming Language.
- [Method 1 (Create Visual App)](#method-1)
- [Method 2 (Execution Window)](#method-2) *(expected method)*
- [Video Instructions](https://git.kska.io/sppu-te-comp-content/CloudComputing/src/branch/main/Practical/Assignment-3/Bank-App-Demo.mp4)
---
## Method 1
1. In the Developer Console, after creating a new `Apex Class` with the name `CreateBankCustomer`, paste the below code:
> [!IMPORTANT]
> Remove all the existing stuff from the file before pasting.
```java
public class CreateBankCustomer {
public String customerName { get; set; }
public String contactNumber { get; set; }
public String customerSegment { get; set; }
public String accountNumber { get; set; }
public String accountType { get; set; }
public List<SelectOption> segmentOptions { get; set; }
public List<SelectOption> accountTypeOptions { get; set; }
public CreateBankCustomer(ApexPages.StandardController controller) {
segmentOptions = new List<SelectOption>();
segmentOptions.add(new SelectOption('', '- None -'));
segmentOptions.add(new SelectOption('Retail Banking', 'Retail Banking'));
segmentOptions.add(new SelectOption('Corporate Banking', 'Corporate Banking'));
segmentOptions.add(new SelectOption('Private Banking', 'Private Banking'));
segmentOptions.add(new SelectOption('Investment Banking', 'Investment Banking'));
accountTypeOptions = new List<SelectOption>();
accountTypeOptions.add(new SelectOption('', '- None -'));
accountTypeOptions.add(new SelectOption('Savings', 'Savings'));
accountTypeOptions.add(new SelectOption('Current', 'Current'));
}
public PageReference createCustomer() {
System.debug('Creating new bank customer');
if (!String.isEmpty(customerName)) {
Account customer = new Account(
Name = customerName,
Phone = contactNumber,
Industry = customerSegment,
AccountNumber = accountNumber,
Type = accountType
);
insert customer;
PageReference pg = new PageReference('/' + customer.Id);
pg.setRedirect(true);
return pg;
} else {
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR, 'Please enter Customer Name'));
}
return null;
}
public PageReference cancelCreation() {
return new PageReference('/' + Schema.SObjectType.Account.getKeyPrefix() + '/o');
}
}
```
2. In top-left corner, click on `File` followed by `Save` to save this file.
3. In top-left corner, click on `File`, then `New -> Visualforce Page` and create a new Apex Page titled `CreateBankCustomer`. Then, paste the following code:
> [!IMPORTANT]
> Remove all the existing stuff from the file before pasting.
```xml
<apex:page standardController="Account" extensions="CreateBankCustomer">
<apex:form>
<apex:pageMessages />
<apex:pageBlock title="Create Bank Customer">
<apex:pageBlockSection columns="1">
<apex:inputText value="{!customerName}" label="Customer Name"/>
<apex:inputText value="{!contactNumber}" label="Contact Number"/>
<apex:inputText value="{!accountNumber}" label="Account Number"/>
<apex:selectList value="{!accountType}" size="1" label="Account Type">
<apex:selectOptions value="{!accountTypeOptions}" />
</apex:selectList>
<apex:selectList value="{!customerSegment}" size="1" label="Customer Segment">
<apex:selectOptions value="{!segmentOptions}"/>
</apex:selectList>
</apex:pageBlockSection>
<apex:pageBlockButtons >
<apex:commandButton value="Create" action="{!createCustomer}" />
<apex:commandButton value="Cancel" action="{!cancelCreation}" />
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
```
4. In top-left corner, click on `File` followed by `Save` to save this file.
5. In top-left corner, right above the line numbers, click on `Preview` button. A new browser tab will open. Enter the required details and click on `Create` to create a new user.
> [!TIP]
> Visit `Accounts` section from App Launcher to view the changes.
---
## Method 2
1. In the Developer Console, after creating a new `Apex Class` with the name `User`, paste the below code:
> [!IMPORTANT]
> Remove all the existing stuff from the file before pasting.
```java
public class User {
public static void createAccount(String accName, String accType) {
Account newAcc = new Account();
newAcc.Name = accName;
newAcc.Type = accType; // Use the standard Type field
try {
insert newAcc;
System.debug('Account created with id: ' + newAcc.Id);
} catch (DmlException e) {
System.debug('Error creating Account: ' + e.getMessage());
}
}
public static void deleteAccount(Id accId) {
// Check if the account ID is valid
if (accId == null) {
System.debug('Account Id cannot be null');
return;
}
try {
// Perform the delete operation
delete [SELECT Id FROM Account WHERE Id = :accId LIMIT 1];
System.debug('Account with ID: ' + accId + ' has been deleted.');
} catch (DmlException e) {
System.debug('Error deleting Account: ' + e.getMessage());
} catch (QueryException e) {
System.debug('Error finding Account: ' + e.getMessage());
}
}
}
```
2. In top-left corner, click on `File` followed by `Save` to save this file.
3. Press `Ctrl+E` to open execute anonymous window.
4. Paste the below content and hit `Execute`.
```java
User.createAccount('Test Account', 'Savings);
User.deleteAccount('#specified_Id');
// Id can be checked in URL when clicked on any account created in Accounts Page
```
> [!TIP]
> Visit `Accounts` section from App Launcher to view the changes.
> [!NOTE]
> For account deletion, you have to do it directly from the `Accounts` section in App Launcher.
---
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+46
View File
@@ -0,0 +1,46 @@
# Steps for using Apex to create new accounts in Salesforce (for Developers)
This file contains instructions for Assignment-3.
---
## Code
In the Developer Console, after creating a new `Apex Class` with the name `user`, paste the below code:
```
public class user {
public static void createAccount(String accountName) {
// Create a new Account instance
Account newAccount = new Account();
newAccount.Name = accountName;
// Insert the Account into the database
try {
insert newAccount;
System.debug('Account created with Id: ' + newAccount.Id);
} catch (DmlException e) {
System.debug('Error creating account: ' + e.getMessage());
}
}
}
```
## Execution
- In the Developer Console itself, after pasting the above code, press `Ctrl+S` to save the changes, then
- Press `Ctrl+E` to open execute anonymous window,
- Paste the below content and hit `Execute`.
```apex
user.createAccount('Test-1');
user.createAccount('Test-2');
```
> [!TIP]
> Visit `Accounts` section from App Launcher to view the changes.
> [!NOTE]
> For account deletion, you have to do it directly from the `Accounts` section in App Launcher.
---
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,66 @@
# Objects for Accounts Management App
Problem Statement: Design and develop custom Application (Accounts Management) using Salesforce Cloud.
---
## Objects
1. Account Details
2. Contact Details
3. Activity Information
4. Case Information
---
## Fields and Relations
### Account Details
1. Fields:
- Account Name (Text)
- Account Type (Picklist: Customer, Partner, Vendor, etc.)
- Industry (Picklist: Technology, Finance, Healthcare, etc.)
- Phone (Phone)
- Address (Address)
2. Relationships:
Account Details to Contact Details: One-to-Many (One Account can have multiple Contacts)
Account Details to Activity Information: One-to-Many (One Account can have multiple Activities)
Account Details to Case Information: One-to-Many (One Account can have multiple Cases)
### Contact Details
1. Fields:
- Name (Text)
- Email (Email)
- Phone (Phone)
- Job Title (Text)
- Account (Lookup to Account)
2. Relationships:
- Contact Details to Activity Information: One-to-Many (One Contact can have multiple Activities)
- Contact Details to Case Information: One-to-Many (One Contact can have multiple Cases)
### Activity Information
1. Fields:
- Subject (Text)
- Account (Lookup to Account)
- Contact (Lookup to Contact)
- Activity Type (Picklist: Call, Meeting, Email, Task)
- Due Date (Date)
- Status (Picklist: Not Started, In Progress, Completed)
- Notes (Long Text Area)
### Case Information
1. Fields:
- Case Number (Auto Number)
- Account (Lookup to Account)
- Contact (Lookup to Contact)
- Status (Picklist: New, In Progress, Escalated, Closed)
- Priority (Picklist: Low, Medium, High)
- Description (Long Text Area)
- Created Date (Date/Time)
- Last Modified Date (Date/Time)
---
@@ -0,0 +1,48 @@
# Objects for Contact Management App
Problem Statement: Design and develop custom Application (Contact Management) using Salesforce Cloud.
---
## Objects
1. Contact Information
2. Interaction History
3. Company Details
---
## Fields and Relations
### Contact Information
1. Fields:
- Name (Text)
- Email (Email)
- Phone (Phone)
- Address (Text Area)
- Date of Birth (Date)
- Company (Text)
2. Relationships:
- Contact Information to Interaction History: One-to-Many (One contact can have multiple interactions)
- Contact Information to Company Details: Many-to-One (Multiple contacts can belong to one company)
### Interaction History
1. Fields:
- Interaction Date (Date/Time)
- Interaction Type (Picklist: Call, Email, Meeting, Other)
- Notes (Long Text Area)
- Follow-up Date (Date)
2. Relationships:
- Lookup Relationship to Contact Information (Each interaction is related to a specific contact)
### Company Details
1. Fields:
- Company Name (Text)
- Industry (Picklist: Technology, Finance, Healthcare, etc.)
2. Relationships:
- Lookup Relationship to Contact Information (A company can have multiple contacts)
---
@@ -0,0 +1,56 @@
# Objects for Online Shopping App
Problem Statement: Design and develop custom Application (Online Shopping) using Salesforce Cloud.
---
## Objects
1. Online Product
2. Product Category
3. Customer Details
4. Order Details
---
## Fields and Relations
### Online Product
1. Fields:
- Product Name (Text)
- Description (Long Text)
- Price (Currency)
- Stock Quantity (Number)
- Product Category (Picklist)
2. Relationships:
- Related to Product Category (Many-to-One)
### Product Category
1. Fields:
- Category Name (Text/Picklist)
2. Relationships:
- Related to Online Product (One-to-Many)
### Customer Details
1. Fields:
- Name (Text)
- Email (Email)
- Phone Number (Phone)
- Address (Text Area)
2. Relationships:
- Related to Orders Details (One-to-Many)
### Order Details
1. Fields:
- Order Number (Auto-Number)
- Order Date (Date/Time)
- Total Amount (Currency)
- Status (Picklist: Pending, Shipped, Delivered, Cancelled)
2. Relationships:
- Related to Customer Details (Many-to-One)
---
Binary file not shown.
+68
View File
@@ -1,3 +1,71 @@
# Cloud Computing (CC)
This repository provides essential resources for the Cloud Computing course, including notes, codes, handouts, write-ups, solved question papers, and previous year question papers. It supports course outcomes such as understanding cloud environments, utilizing data storage techniques, analyzing virtualization, and developing secure cloud applications. The materials aim to equip students with fundamental concepts, implementation strategies, and advanced techniques in cloud computing, ensuring a comprehensive understanding of the subject and its applications.
---
> [!TIP]
> Want to contribute? Start by [opening an issue](https://git.kska.io/sppu-te-comp-content/CloudComputing/issues) in this repository!
## Index
### Notes
1. [Unit 1 - Introduction to Cloud Computing](Notes/Unit%201%20-%20Introduction%20to%20Cloud%20Computing)
2. [Unit 2 - Data Storage and Cloud Computing](Notes/Unit%202%20-%20Data%20Storage%20and%20Cloud%20Computing)
3. [Unit 3 - Virtualization in Cloud Computing](Notes/Unit%203%20-%20Virtualization%20in%20Cloud%20Computing)
4. [Unit 4 - Cloud Platforms and Cloud Applications](Notes/Unit%204%20-%20Cloud%20Platforms%20and%20Cloud%20Applications)
5. [Unit 5 - Security in Cloud Computing](Notes/Unit%205%20-%20Security%20in%20Cloud%20Computing)
6. [Unit 6 - Advanced Techniques in Cloud Computing](Notes/Unit%206%20-%20Advanced%20Techniques%20in%20Cloud%20Computing)
### Assignments
1. [Assignment-1](Assignments/CC%20-%20Assignment-1.pdf)
2. [Assignment-2](Assignments/CC%20-%20Assignment-2.pdf)
### Practical
> Each folder contains **handout**, **write-up** and **softcopy** (i.e. code + output).
1. [Assignment-1](Practical/Assignment-1/)
2. [Assignment-2](Practical/Assignment-2/)
3. [Assignment-3](Practical/Assignment-3/)
4. [Assignment-4](Practical/Assignment-4/)
### Question Papers
- [IN-SEM](Question%20Papers/IN-SEM)
- [END-SEM](Question%20Papers/END-SEM)
### [END-SEM PYQ Answers](Notes/END-SEM%20PYQ%20Answers)
---
## Miscellaneous
**-> Disclaimer:** Please read the [DISCLAIMER](DISCLAIMER.md) file for important information regarding the contents of this repository.
**-> Note:** Content such as codes, softcopies, write-ups and question papers is provided by us, i.e. our contributors. You are free to use this content however you wish, without any restrictions. Some of the notes and handouts have been provided by our professors, thus to use them for anything other than educational purposes, please contact them.
**-> Maintained by:**
- [TanmaySpamzzz](https://git.kska.io/TanmaySpamzzz)
- [notkshitij](https://git.kska.io/notkshitij)
**-> Contributors:**
- Afan Shaikh
- Ayush Kalaskar
- Himanshu Patil
- Shriniwas G
- Sonali Chaudhari
**->** Repository icon from [Icons8](https://icons8.com).
**-> Motto:**
![Making information freely accessible to everyone.](motto.jpg)
**-> Keywords:**
SPPU, Savitribai Phule Pune University, Pune University, Computer Engineering, COMP, Third Year, TE, Semester 6, SEM-6, Cloud Computing, CC, Cloud Computing codes, notes, SPPU Cloud Computing notes, handouts, softopy, SPPU Cloud Computing code and output, question papers, PYQs
---
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB