码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • Programming abstractions in C阅读笔记:p176-p178


    《Programming Abstractions In C》学习第59天,p176-p178总结。

    一、技术总结

    1.addtive sequences

    tn = tn-1 + tn-2

    序列:3, 7, 10, 17, 27, 44, 71, 115, 186, 301, 487, 788, 1275, …

    p177, As a general class, the sequences that follow this pattern are called additive sequences。

    2.wrapper functions

    int Fib(int n) {
        return AdditiveSequence(n, 0, 1);
    }
    
    • 1
    • 2
    • 3

    Functions of this sort, which simply return the result of another function, often after transforming the arguments in some way, are called wrapper functions。

    如上, Fib称为wrapper function。wrapper函数的作用是为subsidiary function提供参数。

    二、英语总结

    1.enormous是什么意思?

    答:ex-(“out of”) + norm(“rule, norm”) + -ous(substituted for Latin -is*, “having, full of”*),即超乎寻常的。adj. “extremely large(巨大的)”之意。

    2.given that是什么意思?

    答:given that 的意思是“taking that fact into account / in consideration of the fact that”,可以翻译为“已知”。that后面的内容一定是fact,不能是假设的。

    示例:p176,Given that the Fibonacci function can be implemented efficiently using iteration,the enormous explosion of steps required by the recursive implementation is more that a little disturbing

    3.subsidiary是什么意思?

    答:

    (1)subsidiary: adj.used to refere to sth that less important than sth else with which is connected(辅助的,次要的)。c. a company that is controlled by another(子公司)。

    (2)subsidy: c.money given as part of the cost of sth, to help or encourage it to happen(补贴,补助金)。

    (3)subside: sub(“under”) + sidere(“to settle”),原本的意思是“sink to the bottom(下沉)”,引申义意义是“sink to a lower level(降低、减弱)”。vi.become less strong or extreme。

    三、参考资料

    1. 编程

    (1)Eric S.Roberts,《Programming Abstractions in C》:https://book.douban.com/subject/2003414

    2. 英语

    (1)Etymology Dictionary:https://www.etymonline.com

    (2) Cambridage Dictionary:https://dictionary.cambridge.org
    在这里插入图片描述

    欢迎搜索及关注:编程人(a_codists)

  • 相关阅读:
    使用AVX2指令集加速推荐系统MMR层余弦相似度计算
    rancher导入集群时证书报错
    iOS 用masonry布局Scrollview的问题,添加在scrollview的子控件约束失效
    北京小程序开发如何选择开发团队与开发语言?
    Android项目目录结构和资源管理
    Jenkins实现CI/CD发布(Ansible/jenkins共享库/gitlab)
    不知道PPT转PDF简单方法有哪些?三个方法让你知道PPT转PDF怎么转
    BUUCTF-PWN-第一页writep(32题)
    vue之小知识罗列
    深度学习实战01-卷积神经网络(CNN)实现Mnist手写体识别
  • 原文地址:https://blog.csdn.net/codists/article/details/133756336
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号