Skip to content

Instantly share code, notes, and snippets.

View gcs-abdulwahab's full-sized avatar

Abdul Wahab gcs-abdulwahab

  • 23:34 (UTC +05:00)
View GitHub Profile
@gcs-abdulwahab
gcs-abdulwahab / Node.cpp
Created July 26, 2022 06:07
My Description to DSA class for Node Class
// Abdul-Wahab GCS-s22-003
#include <iostream>
using namespace std;
class Node {
private:
int data;
Node* next;
public:
Node(int data , Node* next=NULL){
@gcs-abdulwahab
gcs-abdulwahab / Information System Midterm Syllabus
Last active August 29, 2022 10:19
IT-311 Information System for GCS Syllabus
Midterm 2022 Information System Syllabus
Introduction to Information Systems / Information Management
Introduction to Decision Support Systems
Developing and Implementing
change Programs, Organization and Management Issues.
Midterm Paper from Past papers!
@gcs-abdulwahab
gcs-abdulwahab / Midterm Syllabus for Internet Programming
Last active August 30, 2022 12:35
Midterm Syllabus for Internet Programming GCS 2022
# Midterm Syllabus for Internet Programming GCS
HTML Forms
Client Server Architecture , CSS , Simple and Compound Selectors
Javascripts DOM
AJAX , XMLHTTPRequest
JSON
Intro to JAVA , WORA
JVM Java->bytecode
@gcs-abdulwahab
gcs-abdulwahab / Fibonacci_DP.cpp
Created September 7, 2022 10:00
Fibonacci Code using Dynamic Programming
// Online C++ compiler to run C++ program online
#include <iostream>
using namespace std;
unsigned long X[100];
bool doesExist(int n){
if (X[n] != -1)
return true;
@gcs-abdulwahab
gcs-abdulwahab / WEb Midterm Syllabus.txt
Last active September 13, 2022 18:48
GCS Web IT-205 Midterm Syllabus
XML
HTML
Head
title , script , link
Body
Protocols , http , ftp , https , smtp , ip , tcp/ip / udp
Client , server , Client Server Architecture
HTML Structure : Root Element , Head , Body
Self Closing Tags Case Sensitive
#include <iostream>
using namespace std;
int main (){
int x = 14;
int y = 3;
cout<<"Enter Values of x and y ";
cin>> x >> y;
// I can change it
int d = y;
@gcs-abdulwahab
gcs-abdulwahab / FindMax_A.cpp
Last active September 23, 2022 06:03
Finding the Maxmimu using only if statement
#include <iostream>
using namespace std;
int main() {
int a1 = 1 ;
int a2 = 1 ;
int a3 = 1 ;
int a4 = 1 ;
int a5 = 1 ;
/*
@gcs-abdulwahab
gcs-abdulwahab / Max_2.cpp
Created September 23, 2022 06:33
Finding Max using if and else if
if (a1>a2) {
if (a1 > a3) {
if (a1 > a4) {
if (a1 > a5) {
cout << a1 << " is maximum";
}
}
}
}
else if (a2 > a3){
@gcs-abdulwahab
gcs-abdulwahab / Max_3.cpp
Created September 23, 2022 07:45
Finding Max using Loop while/For Loop
#include <iostream>
using namespace std;
int main() {
int a[10] = {1 ,2 ,3 ,5 , 3 , 1};
int max = a [0];
for (int i = 1; i < 5; ++i) {
if ( a[i] > max )
max = a[i];
@gcs-abdulwahab
gcs-abdulwahab / index.jsp
Created September 27, 2022 07:38
Display Values from Database in JSP Page
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.Connection"%>
<%
String driver = "com.mysql.jdbc.Driver";
String connectionUrl = "jdbc:mysql://localhost:3306/";
String database = "database";
String userid = "root";
String password = "";