0% found this document useful (0 votes)
11 views4 pages

Desktop App Exercises

The document contains exercises for desktop application development, covering conceptual diagrams, GUI design, programming fundamentals, database operations, software development with IDE, and deployment/user guide. Each exercise includes tasks such as designing systems, writing code, and creating documentation. The exercises aim to enhance skills in application design, programming, and deployment processes.

Uploaded by

trincomaleezcrc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

Desktop App Exercises

The document contains exercises for desktop application development, covering conceptual diagrams, GUI design, programming fundamentals, database operations, software development with IDE, and deployment/user guide. Each exercise includes tasks such as designing systems, writing code, and creating documentation. The exercises aim to enhance skills in application design, programming, and deployment processes.

Uploaded by

trincomaleezcrc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Desktop Applications Exercises

Exercise Sheet 1: Conceptual Diagrams and GUI Design

1. Draw a conceptual diagram for a library management system.

2. Identify and design a graphical user interface for a student registration system.

3. Draw a flowchart for user authentication in a desktop application.

4. Create a wireframe for an online bookstore application.

5. Design a GUI for an inventory management system including forms for adding,
deleting, and updating items.

Conceptual Diagram for Library Management System:

1. ER Diagram includes entities:

Books (BookID, Title, Author), Members (MemberID, Name, Contact), Transactions


(TransactionID, IssueDate, ReturnDate, BookID, MemberID).

2. GUI Design for Student Registration System:

Sample form with labels (Name, Email, Contact), text boxes, and buttons (Submit,
Reset).

3. Flowchart for User Authentication:

Flowchart with steps: Start -> Input Username/Password -> Validate -> If Correct ->
Access Granted -> Else -> Retry -> End.

4. Wireframe for Online Bookstore:

Wireframe includes a navigation bar, product grid, search bar, and cart section.

5. GUI for Inventory Management:

Form with fields for Item Name, Quantity, Price, and buttons for Add, Delete, Update.
Exercise Sheet 2: Programming Fundamentals

1. Define structured programming and object-oriented programming with examples.

2. Write a short program in any language to demonstrate data types and variables.

3. Create a program that uses all basic operators (arithmetic, logical, relational).

4. Develop a program with control structures: if-else, loops (for, while).

5. Write user-defined functions to perform addition, subtraction, multiplication, and


division.

1. Structured vs OOP:

Structured uses top-down approach (C language), OOP uses classes/objects (Java).

2. Data Types/Variables Code:


int a = 5; float b = 5.5; char c = 'A';

3. Operators Example:
if(a > b && c == 'A') { ... }

4. Control Structures Code:


for(i=0; i<10; i++) { ... }

5. User-defined Functions Code:


def add(a,b): return a+b
Exercise Sheet 3: Database Operations

1. Design a database schema for an employee management system.

2. Write SQL code for inserting, updating, deleting, and selecting data in the database.

3. Create a program that connects to a database and performs CRUD operations.

4. Write test cases for the above program and document the expected output.

5. Develop a mini project integrating a database with a desktop application.

1. Database Schema:

Tables: Employees (EmpID, Name, Dept), Salaries (EmpID, Amount).

2. SQL Queries:
INSERT INTO Employees VALUES(1,'John','IT');

3. Database Program Code:

Python code using sqlite3.connect().

4. Test Cases Table:

Columns: Test Case ID, Input, Expected Output.

5. Mini Project:

Employee management desktop app using Python and SQLite.

Exercise Sheet 4: Software Development with IDE

1. Install and configure an IDE for desktop application development.

2. Create a simple desktop application that takes user input and displays output.

3. Develop a calculator application with basic arithmetic operations.

4. Write code in the IDE for a basic student information system.

5. Document and explain the code developed using the IDE.


1. IDE Setup:

Install PyCharm, add Python interpreter.

2. Simple App Code:


name = input('Enter name:') print('Hello', name)

3. Calculator Code:

Python code with functions for add, subtract.

4. Student Info System Code:

Python app with GUI using Tkinter.

5. Code Documentation:

Comments explaining variables, functions.

Exercise Sheet 5: Deployment and User Guide


1. Write steps to deploy a desktop application for end-users.

2. Develop a user guide for a desktop application you created.

3. Create an installer for a desktop application with necessary dependencies.

4. Write documentation for the software application including system requirements


and user instructions.

5. Perform testing of a developed application and document the test results.

1. Deployment Steps:
Install dependencies, build installer, distribute.
2. User Guide:
Steps to install and use app, with screenshots.
3. Installer Creation:
Using tools like Inno Setup.
4. Documentation:
Include hardware/software requirements.
5. Testing Results:
Test cases with pass/fail status and screenshots.

You might also like