This file contains hidden or 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
| create table TRN_CUSTOMERS | |
| ( | |
| name VARCHAR2(50), | |
| surname VARCHAR2(100), | |
| client_no NUMBER(8) not null, | |
| gender VARCHAR2(1), | |
| age NUMBER(3) | |
| ) | |
| INSERT INTO TRN_CUSTOMERS |
This file contains hidden or 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
| package com.ykb.main; | |
| import org.springframework.context.support.FileSystemXmlApplicationContext; | |
| public class Executer { | |
| public static void main(String[] args) { | |
| FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext( | |
| args[0]); |
This file contains hidden or 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
| class MyCar | |
| attr_reader :color,:year,:moder | |
| def initialize(color,year,model) | |
| @color=color | |
| @year=year | |
| @model=model | |
| @current_speed=0 | |
| end |
This file contains hidden or 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
| import java.awt.FlowLayout; | |
| import java.awt.GridLayout; | |
| import java.awt.event.ActionEvent; | |
| import java.awt.event.ActionListener; | |
| import javax.swing.*; | |
| public class Kullanıcı extends JFrame implements ActionListener { | |
| JTextField username; |
This file contains hidden or 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
| import java.io.*; | |
| public class Sayilar { | |
| public static void main(String[] args) throws IOException { | |
| int i=0; | |
| File f=new File("C:\\Users\\Utku61\\Desktop\\Sayilar.txt"); | |
| File ftek=new File("C:\\Users\\Utku61\\Desktop\\Tek.txt"); | |
| File fcift=new File("C:\\Users\\Utku61\\Desktop\\Çift.txt"); | |
| FileWriter fa=new FileWriter(ftek,false); |
This file contains hidden or 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
| def printexp(array): | |
| agac = "" | |
| try: | |
| if array[1]: agac += "(" + printexp(array[1]) | |
| except: | |
| pass | |
| agac += str(array[0]) | |
| try: | |
| if array[2]: agac += printexp(array[2]) + ')' | |
| except: |
This file contains hidden or 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
| def sağın_solu(array,newBranch): | |
| if array[0]<newBranch[0]: | |
| if len(array[2])>0: | |
| array[2]=sağın_solu(array[2],newBranch) | |
| else: | |
| array[2]=newBranch | |
| else: | |
| if len(array[1])>0: | |
| array[1]=sağın_solu(array[1],newBranch) |
This file contains hidden or 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
| import java.applet.*; | |
| import java.awt.*; | |
| import java.awt.event.*; | |
| public class HesapMakinesi extends Applet implements ActionListener | |
| { | |
| private Button Topla; | |
| private Button Cikar; | |
| private Button Carp; | |
| private Button Bol; | |
| private TextField kutu1; |
This file contains hidden or 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
| def printexp(array): | |
| try: | |
| if array[1]: | |
| print("(", end='') | |
| printexp(array[1]) | |
| except: | |
| pass | |
| print(array[0], end='') | |
| try: |
This file contains hidden or 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
| def sol_dip_heap(array): | |
| AnaKökİndis=1 | |
| while AnaKökİndis<len(array): | |
| AnaKökİndis *=2 | |
| print (array[AnaKökİndis//2]) | |
| array=[0,5,9,11,14,18,19,21,33,17,27] | |
| sol_dip_heap(array) |