Skip to content

Instantly share code, notes, and snippets.

View vishhvak's full-sized avatar
👨‍💻
Game on.

Vishhvak vishhvak

👨‍💻
Game on.
View GitHub Profile
@vishhvak
vishhvak / First_one.java
Created April 7, 2019 17:28
Java First one
/*
1. Design a classes Tender, PWD and contractor. Use an inheritance and association
relationship appropriately. Write a java program to store the tender details by the
contractor. */
import java.util.Scanner;
abstract class Tender {
String construct_type;
Long Budget;
@vishhvak
vishhvak / yo.tex
Created April 11, 2018 18:22
asdlkashda
4.
\\
\begin{center} Chomsky Hierarchy \\~\\
\resizebox{\textwidth}{!}{%
\begin{tabular}{|l|l|l|l|}
\hline
Grammar & Lanugage & Automaton & Production Rules \\ \hline
Type-3 & Regular & Finite State Automaton & $A \rightarrow a$ $\&$ $A$ $\rightarrow aB$\\ \hline
Type-2 & Context-Free & Push Down Automaton & $A \rightarrow \gamma$ \\ \hline
Type-1 & Context-Sensitive & Linear Bounded Automaton & $\alpha A \beta \rightarrow \alpha \gamma \beta$ \\ \hline