mirror of
https://github.com/Rushilwiz/comp210.git
synced 2025-04-09 15:00:18 -04:00
initial commit
This commit is contained in:
commit
001e2bb6bc
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
6
.idea/misc.xml
Normal file
6
.idea/misc.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/comp.iml" filepath="$PROJECT_DIR$/comp.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
1
assn/.~lock.assn01.pdf#
Normal file
1
assn/.~lock.assn01.pdf#
Normal file
|
@ -0,0 +1 @@
|
||||||
|
,rushil,SARASWATI,03.09.2023 12:04,file:///home/rushil/.config/libreoffice/4;
|
BIN
assn/assn01.pdf
Normal file
BIN
assn/assn01.pdf
Normal file
Binary file not shown.
11
comp.iml
Normal file
11
comp.iml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
BIN
comp_syllabus.pdf
Normal file
BIN
comp_syllabus.pdf
Normal file
Binary file not shown.
BIN
out/production/comp/assn01/HelloWorld.class
Normal file
BIN
out/production/comp/assn01/HelloWorld.class
Normal file
Binary file not shown.
BIN
out/production/comp/assn01/Part2.class
Normal file
BIN
out/production/comp/assn01/Part2.class
Normal file
Binary file not shown.
7
src/assn01/HelloWorld.java
Normal file
7
src/assn01/HelloWorld.java
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
package assn01;
|
||||||
|
|
||||||
|
public class HelloWorld {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("Hello, World");
|
||||||
|
}
|
||||||
|
}
|
19
src/assn01/Part2.java
Normal file
19
src/assn01/Part2.java
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
package assn01;
|
||||||
|
|
||||||
|
public class Part2 {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
short sh = Short.MAX_VALUE;
|
||||||
|
method2();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void method2() {
|
||||||
|
int n2 = 0xABC;
|
||||||
|
System.out.println(n2);
|
||||||
|
method3();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void method3() {
|
||||||
|
int[] a3 = {'a', 'z'};
|
||||||
|
System.out.println(a3[0] + " " + a3[1]);
|
||||||
|
}
|
||||||
|
}
|
6
start
Executable file
6
start
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#! /bin/python3
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
|
os.mkdir("src/assn" + sys.argv[1])
|
||||||
|
print("done!")
|
Loading…
Reference in New Issue
Block a user