Recent projects

static변수 문제1

C · soyoon2014
14 hours ago
#include <stdio.h> // int total=0; // 전역 변수 int AddToTotal(int num)//변수 { static int total=0; total+=num;//변수 2 5 9 return total; AddToTotal(num) }

1st question

MySQL · an anonymous user
14 hours ago
CREATE DATABASE xyz_company; use xyz_company; create table employee( id INT PRIMARY KEY , name VARCHAR(100), salary float ); insert into employee

assignment

R · an anonymous user
14 hours ago
product_name <- c("Laptop", "Smartphone", "Tablet", "Headphones", "Smartwatch", "Printer", "Keyboard", "Monitor") unit_price <- c(185000, 95000, 68000, 12500, 28000, 42000, 8500, 56000) units_sold <- c(35, 80, 45, 160, 90, 38, 210

Bootcamp_Database

MySQL · jullan4205
14 hours ago
CREATE TABLE Instructors( InstructorID INT PRIMARY KEY, FirstName VARCHAR(50), LastName VARCHAR(50), Email VARCHAR(100), Phone VARCHAR(20) ); INSERT INTO Instructors VALUES (1, "Sahra", "Adams", "sahra.adams@email.com", "555-

assignment

R · an anonymous user
14 hours ago
product_name <- c("Laptop", "Smartphone", "Tablet", "Headphones", "Smartwatch", "Printer", "Keyboard", "Monitor") unit_price <- c(185000, 95000, 68000, 12500, 28000, 42000, 8500, 56000) units_sold <- c(35, 80, 45, 160, 90, 38, 210

AC 2nd Experiment

Octave · an anonymous user
14 hours ago
% EXPERIMENT 2 % PULSE AMPLITUDE MODULATION AND DEMODULATION clc; clear all; close all; fm = 1000; % Message frequency fs = 16000; % Sampling frequency

assignment

R · an anonymous user
14 hours ago
product_name <- c("Laptop", "Smartphone", "Tablet", "Headphones", "Smartwatch", "Printer", "Keyboard", "Monitor") unit_price <- c(185000, 95000, 68000, 12500, 28000, 42000, 8500, 56000) units_sold <- c(35, 80, 45, 160, 90, 38, 210

AC 1st experiment

Octave · an anonymous user
14 hours ago
% EXPERIMENT 1 % ANALOG SIGNAL SAMPLING AND RECONSTRUCTION clc; clear all; close all; fm = 1000; % Message frequency fs = 8000; % Sampling frequency

quick project

Octave · an anonymous user
15 hours ago
Code 1 ( PRNG) clc; clear; %Seed: An initial value used to generate %a reproducible sequence of pseudo-random numbers. rand("seed",123); x = randi(100,1,5); disp(x);

B_ch3_Lab

Assembly · an anonymous user
15 hours ago
section .text global _start _start: mov eax, 16 ; divide by 2 mov ebx, eax shr ebx, 1

assignment

R · an anonymous user
15 hours ago
product_name <- c("Laptop", "Smartphone", "Tablet", "Headphones", "Smartwatch", "Printer", "Keyboard", "Monitor") unit_price <- c(185000, 95000, 68000, 12500, 28000, 42000, 8500, 56000) units_sold <- c(35, 80, 45, 160, 90, 38, 210

assignment

R · an anonymous user
15 hours ago
product_name <- c("Laptop", "Smartphone", "Tablet", "Headphones", "Smartwatch", "Printer", "Keyboard", "Monitor") unit_price <- c(185000, 95000, 68000, 12500, 28000, 42000, 8500, 56000) units_sold <- c(35, 80, 45, 160, 90, 38, 210

static변수 예제1

C · soyoon2014
15 hours ago
#include <stdio.h> void SimpleFunc(void) { static int num1=0; // 지역 num1=2 int num2=0; // num2=0 num1++, num2++; // num1=3, num2=1 printf("static: %d, local:%d \n", num1,num2); }

impulse signal

Octave · an anonymous user
15 hours ago
t=linspace(0,1,1000); impulse=zeros(1,length(100)) impulse=round(lenght(10),(t/2)) stem=(impulse) title=("impulse signal"); xlabel=("Time t"); ylabel=("Amplitude"); grid on; ylim x;

Events

Lua · an anonymous user
15 hours ago
print 'hello world!'local nsFinishedCallback = false local badAaaShit = false local keepUnlock = true function onCreatePost() addCharacterToList("nonsense-mad", "dad") makeAnimatedLuaSprite('nsEvent','characters/nonsense_event_contextual', getPrope

11/14 내장 함수 / 사용자 정의 함수

Python · jionalgo
15 hours ago
'''print('Hello world!') #출력하는 함수 a = input() #입력하는 함수 sun([10,20,30]) #합계를 구하는 함수 len("abcdef") #길이를 구하는 함수 max([40,50,30,20,10]) #최댓값 구하는 함수 min([30,40,10,30,50]) #최솟값 구하는 함수 ''' def add(): a = 143039 b = 6584590

11/14 내장 함수/사용자 정의 함수

Python · an anonymous user
15 hours ago
# print('Hello world!')#출력하는 함수 # a = input()#입력하는 함수 # sum([10, 20, 30])#합계를 구하는 함수 # len("abcdef")#길이를 구하는 함수 # max([40, 50, 30, 20, 10])#최댓값 구하는 함수 # min([30, 40, 20, 10, 50])#최솟값 구하는 함수 def add(): a = 10 b = 20

11/14 내장 함수 / 사용자 정의 함수

Python · fbtjdwo
15 hours ago
''' print("Hello world!") #출력하는 함수 a = input() #입력하는 함수 sum([10, 20, 30]) #합계를 구하는 함수 len("abcdef") #길이를 구하는 함수 max([40, 50, 30, 20, 10]) #최댓값 구하는 함수 min([30, 40, 20, 10, 50]) #최소값 구하는 함수 ''' def add():

11/14 내장 함수 / 사용자 정의 함수

Python · parkajeong
15 hours ago
''' print('Hello world!') #출력하는 함수 a = input() #입력하는 함수 sum([10, 20, 30]) #합계를 구하는 함수 len("abcdef") #길이를 구하는 함수 max([40, 50, 30, 20, 10]) #최댓값 구하는 함수 min([30, 40, 20, 10, 50]) #최솟값 구하는 함수 ''' def add():

전역변수 예제1

C · an anonymous user
15 hours ago
#include <stdio.h> int Add(int val);//변수 static int num=1;//변수-전역 int main(void) { static int num=5;//변수 printf("num: %d \n", Add(3)); // 12 printf("num: %d \n", num+9); // 14 return 0;