Telecommunications Cables and Network Technologies

Telecommunication Cables and Network Technologies

Types of Cables

  • Dual Pair Parallel Cable: Consists of two parallel cables, often rigid, isolated by a plastic such as polyethylene. It is used to connect the cable modem, telephone, or rosette.
    • Inconvenience: Susceptible to noise and electromagnetic interference, as the part that carries the signal can act like an antenna.
  • Twisted Pair Cable: Minimizes electromagnetic interference. The two wires are twisted, canceling out the effects of sending and receiving
Read More

Java Programming Exercises: Salary, Shapes, and More

Java Programming Exercises

Worker Salary Calculation

Calculate weekly salary based on hours worked.

import java.util.*;
public class Main {
    public double calcularSalarioSemanal(int numHoras) {
        double resultado;
        if (numHoras <= 30) {
            resultado = numHoras * 10;
        } else {
            resultado = (30 * 10) + ((numHoras - 30) * 15);
        }
        return resultado;
    }
    public void run() {
        Scanner in = new Scanner(System.in);
        int horas;
 
Read More

Computer Graphics Concepts: CMYK, RGB, Buffering, and More

CMYK and RGB Color Models

CMYK subtracts from white, K “black”

RGB Additive color model – adding ‘primary’ colors to black

Buffering and Image Processing

Double buffering is having two buffers in video memory (front and back buffer) for swapping between them, solving any flickering or partially drawn frames problems

Sobel convolution Apply a kernel to every pixel in image

9k=

Gradient of a point Directional change in intensity of color of image

Lines and Curves

Parametric line P(t) = P0 + t(P1-P0)

Read More

Family Interactions and Social Commentary in 19th Century Russia

Family Interactions and Social Commentary

When Pierre and his wife entered the drawing room, the countess was in one of her customary states in which she needed the mental exertion of playing patience. Though by force of habit she greeted him with the words she always used when Pierre or her son returned after an absence: “High time, my dear, high time! We were all weary of waiting for you. Well, thank God!” and received her presents with another customary remark: “It’s not the gift that’s

Read More

Java Code Examples: Prime Numbers, Array Rotation, Tree Depth

Finding Special Prime Numbers in Java

This code finds two-digit integers where the digit ‘3’ is the most frequent digit. For example, the output will be [13, 23, 31, 37, 43, 53, 73, 83].

“`java import java.util.ArrayList; import java.util.List; import java.util.Scanner;

public class SpecialPrimeFinder {

// Method to get special prime numbers private List getSpecialPrimeNo(int digits, int frequentNo) { List resLst = new ArrayList<>(); int lowerBound = (int) Math.pow(10, digits – 1); int upperBound

Read More

Data Visualization Techniques with Diamonds Dataset in R

library(tidyverse)

Visualization of Distributions

Diamonds Dataset

str(diamonds)
summary(diamonds)
  • ggplot(data = diamonds) + geom_bar(mapping = aes(x = cut))
  • diamonds %>% count(cut)
  • ggplot(data = diamonds) + geom_histogram(mapping = aes(x = carat), binwidth = 0.5)
  • diamonds %>% count(cut_width(carat, 0.5))
smaller <- diamonds %>% filter(carat < 3)
  • ggplot(data = smaller, mapping = aes(x = carat)) + geom_histogram(binwidth = 0.1)
  • ggplot(data = smaller, mapping = aes(x = carat, color = cut)) + geom_
Read More