This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Loading required libraries | |
import java.io.*; | |
import java.util.*; | |
import javax.servlet.*; | |
import javax.servlet.http.*; | |
import java.sql.*; | |
public class MyServlet extends HttpServlet{ | |
public void doGet(HttpServletRequest request, HttpServletResponse response) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a Program of a calculator.It will enter two numbers and a character from user and perform the entered operation. | |
#include <iostream> | |
using namespace std; | |
//This Function will output message on screen. | |
void OutputMessage() | |
{ | |
cout<<"Welcome to Faltu Calculator by Zuraiz, Israr and Munir...!!!"<<endl<<endl | |
<<"Enter number 65535 to END program"<<endl<<endl; | |
} | |
//It will enter "Number" from user and return that value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@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 = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (a1>a2) { | |
if (a1 > a3) { | |
if (a1 > a4) { | |
if (a1 > a5) { | |
cout << a1 << " is maximum"; | |
} | |
} | |
} | |
} | |
else if (a2 > a3){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int a1 = 1 ; | |
int a2 = 1 ; | |
int a3 = 1 ; | |
int a4 = 1 ; | |
int a5 = 1 ; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! | |