Friday, March 1, 2019

Kisi-kisi Soal UTS dan UAS Embedded System Beserta Jawaban


1. Characters are normally represented as strings of seven bits each in an encoding called ....
a) Word
b) Byte
c) Data
d) Char
e) ASCII

2. There exist several fundamental variable types/ structures available for use (called type definitions), except ....
a) Integers
b) Float
c) Double
d) Characters
e) Enum

3. A program that takes programs written in a language like C or C++ and converts them into machine instructions, or assembly language called ....
a) Code
b) Interpreter
c) Embedded system
d) Assembler
e) Compiler

4. In embedded systems, it is common to see the main() function looped in perpetuity, but for the Arduino IDE discussed later there is a syntax that allows for the main function to be looped in perpetuity by default with no added code needed (effectively replacing main() with …. ).
a) if
b) case
c) main()
d) library
e) loop()

5. A common example is the #include statement, which allows for additional libraries to be added to the program upon compiling. A library is additional code that can establish functions for the user of the library to call upon instead of having to code them themselves. The library used to defines core input and output functions is ....
a) stddef.h
b) stdint.h
c) stdlib.h
d) string.h
e) stdio.h

6. Embedded programs (sketches) have two primary loops, they are ....
a) setup() and loop()
b) close up() and loop()
c) set() and loop()
d) setup() and main()
e) main() and loop()

7. There are a number of different types of Arduino’s pins. Pins that can read or write signals that are HIGH or LOW only are ....
a) I2C Ports
b) Serial Ports
c) PWM Pins
d) Analog Pins
e) Digital Pins

8. There are a number of different types of Arduino’s pins. Pins that can write analog voltages to within the resolution of the DAC are ....  
a) PWM Pins
b) Serial Ports
c) I2C Ports
d) Analog Pins
e) Digital Pins

9. A very useful feature that converts an analog voltage on a pin to a digital number called ....

a) Analog ground (AGND)
b) Pulse-width modulation (PWM)
c) successive approximation register (SAR)
d) Digital to Analog Converter (DAC)
e) Analog to Digital Converter (ADC)

10. In essence, by attaching an interrupt to a pin, whenever that pin moves HIGH, a special type of function is executed, regardless where the program currently is in the code itself. This function is called an ....
a) Interrupt Service Routine (ISR)
b) interrupts
c) Access
d) Accelerometers
e) AC amplifier

11. Clock speed for Arduino Nano with ATMega328 is ....
a) 600 MHz
b) 48 MHz
c) 16 MHz
d) 72 MHz
e) 84 MHz

12. A stepper motor is ....
a) a brushless DC electric motor that divides a full rotation into a number of equal steps
b) a motor controlled by a series of electromagnetic coils
c) a device that can measure the tensile or compressive forces on it
d) an electrical circuit used to measure an unknown electrical resistance by balancing two legs of a bridge circuit
e) a and b are true

13. There are two basic types of stepper motors ....
a) unipolar steppers and multipolar steppers
b) unipolar steppers and bipolar steppers
c) multipolar steppers and bipolar steppers
d) onepolar steppers and bipolar steppers
e) onepolar steppers and multipolar steppers

14. The library used for controlling stepper motors is ….
a) Stepper.h
b) DallasTemp.h
c) sdfatlib
d) motor.h
e) stdio.h

15. Data that has been sent and received by Arduino is ASCII. If the Arduino program sends the letter B, the actual data to be sent is ....
a) 69
b) 68
c) 67
d) 66
e) 65

16. The term for a processor that is capable of carrying out many instructions each cycle, and it uses a pipelining technique also called ....
a) RISC processor
b) Multiprocessor
c) Core processor
d) Multicore processor
e) Superscalar processor

17. For software security, the Flash Program memory space is divided into two sections, there are ….
a) Boot Loader Support and Program
b) Boot Loader Support and Memory Programming
c) Boot Program section and Application Program section
d) Load Program Memory and Application Program section
e) Boot Loader Support and Application Program section

18. The I / O device connected to the microprocessor is known as ....
a) Peripheral
b) Interface
c) Cassette recorder
d) CRT
e) Floppy drive

19. 8279 is a microprocessor that has a programmable keyboard and display interface. This microprocessor consists of the following parts, except ....
a) Keyboard Section
b) Scan Section
c) Microprocessor Interface Section
d) Display Section
e) Sensor Section

20. ATMega16 has four ports named PortA, PortB, PortC, and PortD. The four ports are bidirectional paths with an internal pull-up option. Each port has three register bits, namely ...
a) DDxn, I/O, dan PINxn
b) I/O, PORTxn, dan PINxn
c) DDxn, PORTxn, dan I/O
d) DDxn, PORTxn, dan PINxn
e) DDxn, DDRx, dan PINxn

21. The circuit that has the function to encode the input data into number data with a certain format is called ….
a) Multiplexer
b) Decoder
c) Encoder
d) Demultiplexer
e) Counter

22. The logic circuit that is assigned to receive binary inputs and then activates one of its outputs according to the binary sequence is called ....
a) Encoder
b) Demultiplexer
c) Multiplexer
d) Decoder
e) Counter

23. Function performed of microcomputer application from exercise equipment is ....
a) Controls the water and spin cycle
b) Accepts key touches and sends IR pulse to base systems
c) Measure speed, distance calories, heart rate, logs workouts
d) Maintains the time, alarm, and display
e) Entertains the user, joystick input, video output

24. For prototyping ROM is replaced by ..... ROM is essentially used for programming code.
a) RAM
b) ADC
c) EPROM
d) DAC
e) CPU

25. A real-time operating system (RTOS) is an operating system (OS) intended to serve real-time applications that process data as it comes in, typically without buffer delays. Key factors in a real-time OS are ....
a) minimal interrupt latency and minimal thread switching latency
b) minimal interrupt latency and minimal schedule
c) interrupt handlers and the scheduler
d) kernel mode and masking interrupts
e) mutex and OS-supervised interprocess messaging

Sunday, February 3, 2019

Kisi-kisi Soal UTS dan UAS Metode Numerik Beserta Jawaban

1. Diketahui nilai galat 0,002308 dan nilai sejati 2,3456700. Hitunglah nilai relatif ?
a. 0,000984
b. 0,012456
c. 1,986700
d. 2,123657
e. 0,000098
2. Misalkan nilai sejati = 10/3 dan nilai hampiran = 3.333 tentukan galat mutlak pada soal tersebut ?
a. 0,128765
b. 0,002222
c. 0,000333
d. 0,000123
e. a dan b benar
3. Pada soal nomor 2 tentukan galat relatif hampiran?
a. 1/9999
b. 1/8888
c. 1/9990
d. 1/9888
e. 1/8889
4. Apa Istilah lain dari titik kambang ?
a. Floating Point
b. In-Rounding
c. Interpolasi Polinom
d. Deret Taylor
e. Significant figure
5. Bilangan apa yang disajikan dalam Titik Kambang ?
a. Bilangan Bulat
b. Bilangan Desimal
c. Bilangan Real
d. Bilangan Pecahan
e. Bilangan Prima
6. Seperti apa contoh bilangan yang disajikan dalam titik kambang ?
a. 102358
b. 0,6238 x 103
c. 2,3,5,7,11,13,17
d. 6238
e. (-17)
7. (ilyas)Bilangan floating point (pecahan) dari 110,011012 adalah …
a. 6,62510
b. 5,62510
c. 4,56510
d. 0,12510
e. 6,4062510
8. Bilangan riil 245.7654 dinyatakan sebagai …
a. 0.2457654 x 10^3
b. 0.0245765 x 10^3
c. 0.0023452 x 10^3
d. 0.2453615 x 10^3
e. 0.2451426 x 10^3
9. Ukuran yang digunakan untuk membedakan suatu bilangan riil dengan bilangan riil berikutnya disebut …
a. Epsilon Titik
b. Epsilon Mesin
c. Epsilon Kambang
d. Epsilon Bilangan
e. Salah semua
10. Diketahui Deret Maclaurin untuk (1 − x)−1 adalah 1 + x + x2 + x3 … maka deret Taylor untuk x−1 pada a = 1 adalah …
a. 1 – (x – 1) + (x – 1)2 – (x – 1)3 …
b. 1 – (x – 1) – (x – 1)2 + (x – 1)3 …
c. 1 – (x + 1) + (x – 1)2 – (x + 1)3 …
d. 1 – (x + 1) + (x + 1)2 – (x + 1)3 …
e. 1 – (x – 1) + (x + 1)2 – (x – 1)3 …
11. Diketahui suatu fungsi f(x) = -2x³ + 12x² – 20x + 8.5. Dengan menggunakan Deret Taylor order nol, perkirakan fungsi tersebut pada titik xi+1 =0.5 berdasarkan nilai fungsi pada titik xi =0 adalah …
a. 0.005
b. 8.5
c. 0.85
d. 0.8
e. 0.5
12. Berdasarkan nilai pada nomor 2, Deret Taylor order satunya adalah …
a. -0.1
b. -0.5
c. -1.5
d. -0.15
e. Semua salah
13. Diketahui nilai sejati 3,14159265… dan nilai hampiran 3,1428571… Hitunglah nilai galat dan nilai relatif?
a. -0,000402
b. 0,00402
c. 0,000402
d. -0,00402
e. 0,0402
14. Misalkan nilai sejati 2.31793 dan nilai hampiran 1,70718 Hitunglah nilai galat dan nilai relatif?
a. 0,26356
b. 0,2635
c. 0,02635
d. 2,635
e. 26,35

15. Misalkan nilai sejati 0,000787… dan nilai hampiran 0,000723… Hitunglah nilai galat dan nilai relatif?
a. 0,813215
b. -0,0813215
c. 0,0813215
d. 8,13215
e. -0,813215
16. Bilangan floating point (pecahan) dari 101,101 2 adalah
a. 6,40625 10
b. 5,625 10
c. 4,565 10
d. 0,125 10
e. 6,625 10
17. Bilangan floating point (pecahan) dari 110,01101 2 adalah
a. 6,40625 10
b. 5,625 10
c. 4,565 10
d. 0,125 10
e. 6,625 10
18. Dua teknik pembulatan yang umumnya dipakai komputer, yaitu…
a. Pembagian dan pemenggalan (chopping)
b. Perkalian dan pembulatan ke digit terdekat (in-rounding)
c. Pembagian dan perkalian
d. Pemenggalan (chooping) dan pembulatan ke digit terdekat (in-rounding)
e. Salah semua
19. Bilangan titik Kambang biasanya digunakan merepresentasikan sistem bilangan biner yang merupakan sistem bilangan berbasis
a. 2
b. 4
c. 8
d. 10
e. 16
20. Sedangkan sistem bilangan yang biasa digunakan sehari-hari adalah bilangan desimal yang merupakan bilangan berbasis
a. 2
b. 4
c. 8
d. 10
e. 16
21. Galat yang biasanya terjadi karena kutu (bug) merupakan Galat
a. Eksperimental
b. Pemrograman
c. Pemotongan
d. Pembulatan
e. Mutlak
22. Sedangkan galat yang terjadi akibat kesalahan pengukuran dan ketidaktelitian alat ukur merupakan Galat
a. Eksperimental
b. Pemrograman
c. Pemotongan
d. Pembulatan
e. Mutlak
23. Angka yang bermakna yang, angka penting, atau angka yang dapat digunakan dengan pasti merupakan definisi angka
a. Mutlak
b. Heksadesimal
c. Bena
d. Biner
e. Desimal
24. Sistem bilangan berbasis 16 (0 s/d 15) disebut dengan sistem bilangan
a. Mutlak
b. Heksadesimal
c. Bena
d. Biner
e. Desimal
25. Salah satu library pemrograman python yang dipakai untuk mengolah dan merekayasa angka
a. Scipy
b. Numpy
c. Flask
d. Tktinter
e. Tornado


1. Diketahui dua buah persamaan linier adalah 3x + y = 4 dan –x + 2y=1. Berapakah himpunan penyelesaian untuk nilai x dan y?
a. (1, 2)
b. (1, -3)
c. (1, -5)
d. (1, 1)
e. (-5, 0)
2. Diketahui dua buah persamaan linier adalah 2x – 3y = 11 dan 3x + y = 0. Berapakah himpunan penyelesaian untuk nilai x dan y?
a. (1, 2)
b. (1, -3)
c. (1, -5)
d. (1, 1)
e. (-5, 0)

3. Diketahui dua buah persamaan linier adalah x + 5y = –5 dan x + y + 5 = 0. Berapakah himpunan penyelesaian untuk nilai x dan y?
a. (1, 2)
b. (1, -3)
c. (1, -5)
d. (1, 1)
e. (-5, 0)
4. Diketahui dua buah persamaan non linier adalah 2x2 – 3 = –(1 + y)2  dan x2  + (1 + y)2  = 2. Berapakah himpunan penyelesaian untuk nilai x dan y?
a. x = 1 dan y = 3
b. x = 2 dan y = 2
c. x = 1 dan y = 1
d. x = 1 dan y = 0
e. x = 1 dan y = 2

5. Apa Istilah lain dari titik kambang ?
a. Floating Point
b. In-Rounding
c. Interpolasi Polinom
d. Deret Taylor
e. Significant figure
6. Bilangan apa yang disajikan dalam Titik Kambang ?
a. Bilangan Bulat
b. Bilangan Desimal
c. Bilangan Real
d. Bilangan Pecahan
e. Bilangan Prima
7. Diketahui dua buah persamaan non linier adalah (2/x) + (3/y) = 12 dan (3/x) – (1/y) = 7. Berapakah himpunan penyelesaian untuk nilai x dan y?
a. x = 1/3 dan y = 1/3
b. x = 1/4 dan y = 1/2
c. x = 1/3 dan y = 1/2
d. x = 1/3 dan y = 1/4
e. x = 1/2 dan y = 1/4
8. Diketahui persamaan linier adalah
2X1 + X2 + 4X3 = 8
3X1 + 2X2 + X3 = 10
X1 + 3X2 + 3X3 = 8
Berapakah nilai X1 ,X2, X3?
a. X1 = 2.26, X2 = 1.374, X3 = 0.54
b. X1 = 2.24, X2 = 1.39, X3 = 0.536
c. X1 = 2.26, X2 = 1.332, X3 = 0.55
d. X1 = 2.29, X2 = 1.33, X3 = 0.57
e. X1 = 2.23, X2 = 1.384, X3 = 0.538

9. Diketahui persamaan linier adalah
2X1 + 3X2 – X3 = 5
4X1 + 4X2 –3X3 = 3
-2X1 + 3X2 – X3 = 1
Berapakah nilai X1 ,X2, X3?
a. X1 =3, X2 =2, X3 =3
b. X1 =3, X2 =1, X3 =2
c. X1 =3, X2 =2, X3 =4
d. X1 =1, X2 =2, X3 =4
e. X1 =1, X2 =2, X3 =3
10. Ukuran yang digunakan untuk membedakan suatu bilangan riil dengan bilangan riil berikutnya disebut …
a. Epsilon Titik
b. Epsilon Mesin
c. Epsilon Kambang
d. Epsilon Bilangan
e. Salah semua
11. Diketahui Deret Maclaurin untuk (1 − x)−1 adalah 1 + x + x2 + x3 … maka deret Taylor untuk x−1 pada a = 1 adalah …
a. 1 – (x – 1) + (x – 1)2 – (x – 1)3 …
b. 1 – (x – 1) – (x – 1)2 + (x – 1)3 …
c. 1 – (x + 1) + (x – 1)2 – (x + 1)3 …
d. 1 – (x + 1) + (x + 1)2 – (x + 1)3 …
e. 1 – (x – 1) + (x + 1)2 – (x – 1)3 …
12. Diketahui suatu fungsi f(x) = -2x³ + 12x² – 20x + 8.5. Dengan menggunakan Deret Taylor order nol, perkirakan fungsi tersebut pada titik xi+1 =0.5 berdasarkan nilai fungsi pada titik xi =0 adalah …
a. 0.005
b. 8.5
c. 0.85
d. 0.8
e. 0.5
13. Berdasarkan nilai pada nomor 12, Deret Taylor order satunya adalah …
a. -0.1
b. -0.5
c. -1.5
d. -0.15
e. Semua salah
14. Diketahui nilai sejati 3,14159265… dan nilai hampiran 3,1428571… Hitunglah nilai galat dan nilai relatif?
a. -0,000402
b. 0,00402
c. 0,000402
d. -0,00402
e. 0,0402
15. Sistem bilangan berbasis 16 (0 s/d 15) disebut dengan sistem bilangan
a. Mutlak
b. Heksadesimal
c. Bena
d. Biner
e. Desimal



Untuk no 16 s/d 20 silahkan kerjakan sistem persamaan linear berikut dengan menggunakan metode determinan
2x+2y+3z = 14
3x+2y+2z = 15
x+ y+3z = 10

16. Berapakah nilai determinan A
a. -3
b. 3
c. -9
d. -6
e. 6
17. Berapakah nilai determinan X
a. -3
b. 3
c. -9
d. -6
e. 6
18. Berapakah nilai determinan Y
a. -3
b. 3
c. -9
d. -6
e. 6
19. Berapakah nilai determinan Z
a. -3
b. 3
c. -9
d. -6
e. 6
20. Berapakah nilai X, Y, dan Z
a. X =1 , Y =3 , Z = 2
b. X = -3, Y -9= , Z =-6
c. X =3 , Y =1 , Z = 2
d. X = 3, Y =9 , Z =  6
e. X =3 , Y = -6, Z = 8
21. Bilangan titik Kambang biasanya digunakan merepresentasikan sistem bilangan biner yang merupakan sistem bilangan berbasis
a. 2
b. 4
c. 8
d. 10
e. 16
22. Sedangkan sistem bilangan yang biasa digunakan sehari-hari adalah bilangan desimal yang merupakan bilangan berbasis
a. 2
b. 4
c. 8
d. 10
e. 16
23. Galat yang biasanya terjadi karena kutu (bug) merupakan Galat
a. Eksperimental
b. Pemrograman
c. Pemotongan
d. Pembulatan
e. Mutlak
24. Sedangkan galat yang terjadi akibat kesalahan pengukuran dan ketidaktelitian alat ukur merupakan Galat
a. Eksperimental
b. Pemrograman
c. Pemotongan
d. Pembulatan
e. Mutlak
25. Angka yang bermakna yang, angka penting, atau angka yang dapat digunakan dengan pasti merupakan definisi angka
a. Mutlak
b. Heksadesimal
c. Bena
d. Biner
e. Desimal



Thursday, February 22, 2018

How to create cookies Google in blog

Open your blogger and click theme
edit html and insert the bellow code before </head>

The code:

<script async='async' src='https://www.gstatic.com/external_hosted/clipboardjs/clipboard.min.js'/>
    <script type='text/javascript'>
      cookieOptions = {
        msg: &#39;This site uses cookies from Google to deliver its services, to personalise ads and to analyse traffic. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies.&#39;,
        link: &#39;https://policies.google.com/technologies/cookies&#39;,
        close: &#39;Okay!&#39;,
        learn: &#39;Learn More&#39; };
    </script>

hopefully success