Website chia sẻ tài liệu, ebook tham khảo cho các bạn học sinh, sinh viên
Sử dụng map thay cho vector để lưu số lần đoán sai mỗi từ
map
52 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1163 | Lượt tải: 0
Có bỏ phần getVowelGuess() được không ? Xử lý trường hợp từ cần đoán không có trong từ vựng, tức là filteredWordList.size() == 0 Kết thúc 1 ván chơi, hỏi có muốn chơi tiếp ? Cho chơi tiếp nếu người chơi đồng ý. Nếu không đoán được từ (guess == 0) hoặc thua cuộc, hỏi từ của người chơi rồi thêm vào vốn từ vựng và ghi xuống file (giúp lần chơi sau...
54 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1022 | Lượt tải: 0
Khái niệm đệ quy trong toán học / lập trình Một đối tượng (có tham số) được định nghĩa thông qua chính nó với tham số khác (thường nhỏ hơn) Tổng các số tự nhiên từ 1 đến n: s(n) = n + s(n-1) Giai thừa: factorial(n) = n * factorial(n-1) Fibonaci: fibo(n) = fibo(n-1) + fibo(n-2) Hình fractal đệ quy Self-similarity: each part is a “reduced-size ...
93 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1139 | Lượt tải: 0
Giải thích lý do nháy: Mỗi lần gọi repaint() thì update() được gọi update() xoá nội dung cửa sổvà gọi paint() Khắc phục: Vẽ hình vào một khung hình phụ trong bộ nhớ thay vì vẽ trực tiếp ra màn hình. Khi vẽ xong, khung hình phụ được hiển thị ra màn hình trong phương thức paint(). Nạp chồng update() để tránh việc xoá nội dung cửa sổ.
34 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1081 | Lượt tải: 0
Maths
Support classes [ns-2.29/tools/]
class Integrator
Simple linear interpolation integrator
class Samples
Tracks set of sample points (count, sum, sum2, mean, var)
class Random,
88 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1039 | Lượt tải: 0
OFDM Quadrature Phase Shift Keying (QPSK) symbol represents 2 bits Example of OFDM/QPSK scheme: occupies 6 MHz made up of 512 individual carriers, with a carrier separation of a little under 12kHz data are transmitted in bursts bursts consist of a cyclic prefix followed by data symbols cyclic prefix absorbs burst transients waveform from mul...
Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 858 | Lượt tải: 0
CDMA Q:- What is CDMA? Ans:- CDMA allows multiple users to transmit over the same wireless channel using spread spectrum. Each user uses a different spreading code. The receiver picks out one signal by matching the spreading code. Summary Relationship between bandwidth of a signal (before and after and encoding SS) Benefits of SS FHSS Slow a...
Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 945 | Lượt tải: 0
Bug-Fixing Questions What is the expected behaviour of the network? Have I connected the network right? Am I logging trace information at the right level? Can I change it to narrow down on the problem? Has anyone else out there had the same problem? Is there something similar in examples that I can look at, and build upon? Does the code reall...
66 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 870 | Lượt tải: 0
Advantages of Spread Spectrum Reduced crosstalk interference Better voice quality/data integrity and less static noise Lowered susceptibility to multipath fading Inherent security: Co-existence Longer operating distances Hard to detect Hard to intercept or demodulate Harder to jam Summary Spread Spectrum (SS) SS Techniques: FHSS DSSS...
74 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1110 | Lượt tải: 0
Review Question Virtual Channel and Virtual Path Q:-What is the difference between a virtual channel and a virtual path? Ans:-A virtual channel is a logical connection similar to virtual circuit in X.25 or a logical channel in frame relay. In ATM, virtual channels that have the same endpoints can be grouped into virtual paths. All the circuits ...
101 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 872 | Lượt tải: 0