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
console.log( | |
// quiz 1: Why is result false? | |
"This is a string." instanceof String, // false | |
// explain quiz 1 | |
typeof "This is a string.", // "string" | |
typeof String, // "object" | |
new String("This is a string.") === String, // true | |
new String("This is a string.") === Object, // true |
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
const http = require("http"); | |
const server = http.createServer((req, res) => { | |
const urlPath = req.url; | |
if (urlPath === "/overview") { | |
res.end('Welcome to the "overview page" of the nginX project'); | |
} else if (urlPath === "/api") { | |
res.writeHead(200, { "Content-Type": "application/json" }); | |
res.end( | |
JSON.stringify({ |
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
// Ekrana "Merhabalar Veyselciğim" yazan programın kodlarını c# dili ile gösteriniz? | |
Console.WriteLine("Merhabalar Veyselciğim"); // ekrana birşeyler bastıracaksan(yazdıracaksan) kullanılır. Ya da Write da olur. | |
// Ekrana "Kütüphanede çalışılıyor be" yazdıran programın kodlarını c# dili ile gösteriniz? | |
Console.WriteLine("kütüphanede çalışılıyor be"); | |
// Kullanıcı(yani uygulamamızı kullanan beyefendi) bir sayı girsin ve bu sayıya 3 ekleyip tekrardan ekrana bastıran programın kodlarını c# dili ile gösteriniz? | |
// Console.ReadLine() ifadesi kullanıcıdan bir yazı girişi bekler. Mesela 5 girdik diyelim. Console.ReadLine() bunu "5" olarak algılar. | |
Console.Write("Bir sayı giriniz: "); | |
string kgd = Console.ReadLine(); |
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
using System; | |
using System.Security.Cryptography.X509Certificates; | |
namespace ConsoleApp1 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int eb = 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
using System; | |
public class Algoritma | |
{ | |
private static string input(string message = "") { | |
Console.Write(message); | |
return Console.ReadLine(); | |
} | |
public static void Main(string[] args) |
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
using System; | |
public class Algoritma | |
{ | |
private static string input(string message = "") { | |
Console.Write(message); | |
return Console.ReadLine(); | |
} | |
public static void Main(string[] args) |
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
using System; | |
public class Matematik | |
{ | |
public static string input(string message) | |
{ | |
Console.Write(message); | |
return Console.ReadLine(); | |
} |