Senin, 12 Februari 2024

Selasa, 06 Februari 2024

JavaScript

 JavaScript Introduction

-> Client-Side Scripting Language

-> It is untyped, multi paradigm, functional, event driven

-> It is Interpreted by browser's javascript engine


JavaScript Advantages

-> Less Server Interactions 

-> Better Performance

-> Richer Interface

-> Increased Interactivity


JavaScript Arrays

-> Let's you store multiple values in a single variable

-> It stores a fixed size sequential collection of elements

-> To access any element, we need to pass the index


WRITING DATA

--> var fruits = new Array ("apple","orange","mango");

--> var fruits = ["apple","orange","mango"];


READING DATA

--> fruits [0] is the first element

--> fruits [1] is the second element

--> fruits [2] is the third element

Jenis Data Analisis

  • Deskriptif (Descriptive): Jenis analisis yang digunakan untuk meringkas dan menggambarkan data secara sistematis. Ini mencakup statistik ringkasan, seperti mean, median, dan mode, serta teknik visualisasi data seperti diagram batang, histogram, dan diagram lingkaran. Analisis deskriptif membantu dalam memahami pola, distribusi, dan karakteristik dasar dari kumpulan data.
  • Diagnostik (Diagnostic): Analisis diagnostik bertujuan untuk menentukan penyebab dari suatu kejadian atau fenomena. Ini melibatkan identifikasi hubungan sebab-akibat antara variabel-variabel dalam data. Teknik analisis diagnostik mencakup analisis regresi, analisis korelasi, dan analisis varians, yang membantu dalam memahami faktor-faktor yang mempengaruhi hasil tertentu.
  • Prediktif (Predictive): Jenis analisis yang digunakan untuk memprediksi hasil di masa depan berdasarkan pola dan tren dalam data historis. Ini melibatkan penggunaan model statistik atau pembelajaran mesin untuk membuat prediksi yang akurat. Contoh model prediktif termasuk regresi logistik, pohon keputusan, dan jaringan saraf tiruan. Analisis prediktif berguna dalam peramalan bisnis, risiko keuangan, dan pengambilan keputusan di berbagai bidang.
  • Preskriptif (Prescriptive): Analisis preskriptif melangkah lebih jauh dari analisis prediktif dengan memberikan rekomendasi tentang tindakan yang harus diambil untuk mencapai hasil tertentu. Ini melibatkan integrasi antara data prediktif dengan pengetahuan domain dan preferensi pengguna untuk menghasilkan saran atau keputusan yang optimal. Teknik analisis preskriptif termasuk optimisasi matematis, sistem pakar, dan analisis skenario. Analisis preskriptif membantu dalam mengoptimalkan strategi bisnis, pengelolaan sumber daya, dan pengambilan keputusan kompleks lainnya.

Data Analyst = tanggung jawab di tipe descriptive & diagnostic

Data Science = tanggung jawab di tipe perdictive dan prescriptive

Jumat, 02 Februari 2024

5 fungsi Excel paling dibutuhin seorang Data Analyst

 1. COUNTBLANK

Saat mengolah data, terkadang kita bakal menemukan beberapa value yang masih kosong. Buat mendeteksi data yang kosong ini, kita bisa menggunakan metode Isna() di Python. 

Tapi buat para pemula, kamu juga bisa kok, melakukan hal yang sama di Excel! Caranya dengan fungsi COUNTBLANK. Fungsi ini bakal menghitung jumlah sel kosong dalam satu rentang sel. 

Rumusnya: =COUNTBLANK(range)


2. VLOOKUP

VLOOKUP adalah salah satu fungsi terpenting yang harus diketahui semua Data Analyst. Rumus ini akan memudahkanmu saat mencari data yang disusun dalam kolom vertikal, baik dalam sheet yang sama atau di sheet yang berbeda.

Rumusnya: =VLOOKUP(lookup_value, table_array, col_index_number)



3. RANK 

Mengurutkan data termasuk hal penting yang bisa memudahkanmu dalam pembacaan dan analisa data.

Kamu bisa menggunakan fungsi RANK di Excel untuk mengurutkan peringkat suatu data numerik jika dibandingkan dengan data numerik lainnya dalam sebuah daftar.

Rumusnya: =RANK(number, list)

(Number adalah angka yang peringkatnya ingin kamu tentukan, dan list adalah rentang sel yang berisi daftar angka dalam sheet-mu.)




4. IFERROR

IFERROR adalah fungsi yang berguna untuk mengganti hasil error dari sebuah rumus menjadi pesan khusus sesuai keinginanmu.

Ini akan berguna saat kamu ingin mempresentasikan datamu ke orang lain. Kamu bisa menghindari munculnya pesan error seperti "0" atau "#VALUE!" yang mungkin belum dipahami semua orang.

Rumusnya: =IFERROR(value, value_if_error)


5. MATCH

Dengan jumlah data yang banyak, terkadang kita bakal kesulitan untuk menemukan di mana letak data yang kita mau. Cara mudahnya, kamu bisa pakai fungsi MATCH.

Fungsi MATCH mencari nilai tertentu dalam rentang sel, dan menunjukkan posisi dari nilai ini.

Rumusnya: =MATCH(value, array)






Sabtu, 27 Januari 2024

Kuis Cisco

1. Which action resolves a 401 error response to an HTTP GET that is issued to retrieve statement using RESTCONF on a CSR1000V ?

a. Change the HTTP method to PUT
b. Change the transport protocol to HTTPS
c. Check the MIMF types in the HTTP headers
d. Check the authentication credentials (TRUE)

 2.  What is the purpose of the Cisco VIRL software tool?

        a.  To verify configuration againts compliance standards
        b. To simulate and model networks (TRUE)
        c.  To automate API workflows
        d. To test performance of an applicatio

3. Which concept describe test-driven development?

        a.   It enables code refactoring
        b.  Write a test before writing code (TRUE)
        c.   Tests are created when code is ready for release
        d.   User acceptance testers development the test requirements

4. An application calls a REST API and expects a results set of more than 550 records, but each time the calls is made, only 25 are returned. Which feature limits the amount of data that is returned by the API ?       
        a.       Pagination (TRUE)
        b.       Payload limit
        c.       Rate limiting
        d.       Service timeouts

5. Which encoding format do YANG interfaces support?
a.       JSON (TRUE)
b.       BER
c.       XHTML
d.       Plain text

 

6.  A developer is writing an application that a REST API and the application requires a valid from the API which element of the response is used in the conditional check?

a.       URL

b.       Status code (TRUE)

c.       Link

d.       Body


7. Which line is an example of the start of a chunk from a unified diff?
a.       @@-90,88+20191008T134@@
b.       @@-20191007T1200+88,90@@
c.       @@-20191007T1200+20191008T1349@@
d.       @@-88,10+88,6@@ (TRUE)

 

8. Which REST architectural constraint indicates that no client context should be stored on the server between requests?
a.       Stateless (TRUE)
b.       Uniform interface
c.       Cacheable
d.       Client-server


9. Which description can be given to an application that is interacting with a webhook?
a.       Processor
b.       Codec
c.       Listener (TRUE)
d.       Transaction monitor


10.  Which two statement describe the role of an artifact repository in a CI/CD pipeline?
a.       An artifact repository allows to compare and merge changes in the source code of files involved in
b.       An artifact repository is needed only for CI/CD pipeline execute on a public cloud infrastructur
c.       An artifact repository provides traceability, search, and management of binary files (TRUE)
d.       An artifact repository is needed only for managing open-source software


11. When a Cisco IOS XE networking device is configured using RESTCONF, what is the default dataencoding
a.       XML
b.       X-form-encoding
c.       YANG (TRUE)
d.       YAML


12. What is the outcome of executing this command? Git clone ssh://john@example.com/path/to/my-project_git
a.       Creates a local copy of a repository called “my project” (TRUE)
b.       Creates a copy of a branc called “my project”
c.       Initiates a new Git repository called “my project”
d.       Creates a new branch called “my project”


13. What is security benefit of a Docker-based application?
a.       Guarantees container images are secured and free of vulnerabilities
b.       Prevents information leakage that can occur when unhandled exceptions are returned in HTTP responses
c.       Allows for separation of application that traditionally run in the same host (TRUE)
d.       Natively secures access to secrets that are used by the running application 


14. When using the Besh shell, how it the output of the devnet command saved to a tile named “ouput.txt”?
a.       Devnet & output.txt
b.       Devnet > output.txt (TRUE)
c.       Devnet < output.txt
d.       Devnet | output.txt


15. What is characteristic of Bare Metal environments that are related to application deployment?
a.       Provide the hypervisor to host virtual servers
b.       Specifically designed for container-based workloads
c.       Provides workloads with access to hardware features (TRUE)
d.       Not compatible with other cloud services such as Paas or SaaS offerings


16. Which PAI is used to obtain data voicemail ports?
a.       Finesse gadgets
b.       Cisco unified communications manager (TRUE)
c.       Webex devices
d.       Webex teams

 

17. In python, which expression checks whether the script returns a success status code when the Requests library is used?
a.       Response.status_code==requests.ok
b.       Respons.status_code==requests.codes.ok (TRUE)
c.       Response.code==requests.codes.ok
d.       Response.status_code!==requests.codes.ok


18. Which statement about authentication a RESTCONF API session with a router that runs Cisco IOS XE software is true?
a.       OAuth must be used
b.       A token must be retrieved, and the associated string must be embedded in the X-Auth-Token header
c.       Basic authentication must be used (TRUE)
d.       No authentication is required


19. An automation script fails to connect to an internal server exactly 1 out 2 times is is executed. This behaviour is seen from different clients. Which networking device must be at fault?
a.       Laptop on which the scripted is running
b.       Router
c.       Switch
d.       Load balancer (TRUE)


20. Which device is a system thath monitors, and control incoming and outgoing network traffic basedon predetermined security rules?
a.       Switch
b.       Router
c.       Firewall (TRUE)
d.       Load balancer